From 1db6029ba2d24fab362e0e9947e1ed11ecfb5775 Mon Sep 17 00:00:00 2001 From: Yeastplume <yeastplume@protonmail.com> Date: Sat, 29 Jun 2019 09:09:12 +0100 Subject: [PATCH] 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 --- src/bin/cmd/wallet.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/cmd/wallet.rs b/src/bin/cmd/wallet.rs index ea69324a..8d331fe9 100644 --- a/src/bin/cmd/wallet.rs +++ b/src/bin/cmd/wallet.rs @@ -60,12 +60,12 @@ pub fn wallet_command(wallet_args: &ArgMatches<'_>, config: GlobalWalletConfig) // it gets a 404 for the version function if Version::parse(&v.node_version) < Version::parse(MIN_COMPAT_NODE_VERSION) { let version = if v.node_version == "1.0.0" { - "1.0.x series" + "1.x.x series" } else { &v.node_version }; - println!("Specified Grin Node (version {}) is outdated and incompatible with this wallet version", version); - println!("Please update the node or use a different one"); + println!("The Grin Node in use (version {}) is outdated and incompatible with this wallet version.", version); + println!("Please update the node to version 2.0.0 or later and try again."); return 1; } }