mirror of
https://github.com/mimblewimble/grin-wallet.git
synced 2025-02-01 17:01:10 +03:00
Clearer user messaging when node in use is 1.1.0 or less (#168)
* Modify error message when checking against old nodes to reflect 1.x.x series * update output text
This commit is contained in:
parent
5467515d36
commit
1db6029ba2
1 changed files with 3 additions and 3 deletions
|
@ -60,12 +60,12 @@ pub fn wallet_command(wallet_args: &ArgMatches<'_>, config: GlobalWalletConfig)
|
||||||
// it gets a 404 for the version function
|
// it gets a 404 for the version function
|
||||||
if Version::parse(&v.node_version) < Version::parse(MIN_COMPAT_NODE_VERSION) {
|
if Version::parse(&v.node_version) < Version::parse(MIN_COMPAT_NODE_VERSION) {
|
||||||
let version = if v.node_version == "1.0.0" {
|
let version = if v.node_version == "1.0.0" {
|
||||||
"1.0.x series"
|
"1.x.x series"
|
||||||
} else {
|
} else {
|
||||||
&v.node_version
|
&v.node_version
|
||||||
};
|
};
|
||||||
println!("Specified Grin Node (version {}) is outdated and incompatible with this wallet version", version);
|
println!("The Grin Node in use (version {}) is outdated and incompatible with this wallet version.", version);
|
||||||
println!("Please update the node or use a different one");
|
println!("Please update the node to version 2.0.0 or later and try again.");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue