Clarify error message for wallet info when server refresh fails. Better about text for wallet help restore (#608)

This commit is contained in:
Simon B 2018-01-12 21:08:18 +01:00 committed by Ignotus Peverell
parent d28f37d5b3
commit bff92128e7
2 changed files with 5 additions and 4 deletions

View file

@ -257,7 +257,8 @@ fn main() {
.about("Initialize a new wallet seed file."))
.subcommand(SubCommand::with_name("restore")
.about("Attempt to restore wallet contents from the chain using seed and password.")))
.about("Attempt to restore wallet contents from the chain using seed and password. \
NOTE: Backup wallet.* and run `wallet listen` before running restore.")))
.get_matches();

View file

@ -79,9 +79,9 @@ pub fn show_info(config: &WalletConfig, keychain: &Keychain) {
if let Err(_) = result {
println!(
"\nWARNING: Wallet failed to verify data. \
The above is from local cache and possibly invalid! \
(is your `grin server` offline or broken?)"
"\nWARNING: Failed to verify wallet contents with grin server. \
Above info is maybe not fully updated or invalid! \
Check that your `grin server` is OK, or see `wallet help restore`"
);
}
}