Clarify error message to indicate (#3359)

Indicate that Signer *needs* to be re-enabled, not that it *was* re-enabled.
This commit is contained in:
Chuck LeDuc Díaz 2016-11-11 08:52:52 +01:00 committed by Gav Wood
parent 0b176e7013
commit 7cc88b175f

View File

@ -131,7 +131,7 @@ impl<A: Authorization + 'static> server::Handler<HttpStream> for Router<A> {
StatusCode::NotFound, StatusCode::NotFound,
"404 Not Found", "404 Not Found",
"Your homepage is not available when Trusted Signer is disabled.", "Your homepage is not available when Trusted Signer is disabled.",
Some("You can still access dapps by writing a correct address, though. Re-enabled Signer to get your homepage back."), Some("You can still access dapps by writing a correct address, though. Re-enable Signer to get your homepage back."),
self.signer_address.clone(), self.signer_address.clone(),
)) ))
} }