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."))
|
||||
|
||||
.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();
|
||||
|
||||
|
|
|
@ -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`"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue