mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Clarify error message for wallet info
when server refresh fails. Better about text for wallet help restore
(#608)
This commit is contained in:
parent
d28f37d5b3
commit
bff92128e7
2 changed files with 5 additions and 4 deletions
|
@ -257,7 +257,8 @@ fn main() {
|
||||||
.about("Initialize a new wallet seed file."))
|
.about("Initialize a new wallet seed file."))
|
||||||
|
|
||||||
.subcommand(SubCommand::with_name("restore")
|
.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();
|
.get_matches();
|
||||||
|
|
||||||
|
|
|
@ -79,9 +79,9 @@ pub fn show_info(config: &WalletConfig, keychain: &Keychain) {
|
||||||
|
|
||||||
if let Err(_) = result {
|
if let Err(_) = result {
|
||||||
println!(
|
println!(
|
||||||
"\nWARNING: Wallet failed to verify data. \
|
"\nWARNING: Failed to verify wallet contents with grin server. \
|
||||||
The above is from local cache and possibly invalid! \
|
Above info is maybe not fully updated or invalid! \
|
||||||
(is your `grin server` offline or broken?)"
|
Check that your `grin server` is OK, or see `wallet help restore`"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue