From dadb3b7240a7d3f32020104e2c2b0db263abce15 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Tue, 7 Dec 2021 19:37:42 +0300 Subject: [PATCH] cli/wallet: improve errNoPath string It's also used by commands that don't write to the wallet, the text seems to be wrong for these cases. --- cli/wallet/wallet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/wallet/wallet.go b/cli/wallet/wallet.go index 9f34b8817..be36f4016 100644 --- a/cli/wallet/wallet.go +++ b/cli/wallet/wallet.go @@ -23,7 +23,7 @@ import ( ) var ( - errNoPath = errors.New("target path where the wallet should be stored is mandatory and should be passed using (--wallet, -w) flags") + errNoPath = errors.New("wallet path is mandatory and should be passed using (--wallet, -w) flags") errPhraseMismatch = errors.New("the entered pass-phrases do not match. Maybe you have misspelled them") errNoStdin = errors.New("can't read wallet from stdin for this command") )