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.
This commit is contained in:
Roman Khimov 2021-12-07 19:37:42 +03:00
parent 5196558056
commit dadb3b7240

View file

@ -23,7 +23,7 @@ import (
) )
var ( 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") 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") errNoStdin = errors.New("can't read wallet from stdin for this command")
) )