Improve 'invalid raw key' error msg (#3219)

This commit is contained in:
Björn Wagner 2016-11-06 17:31:26 +01:00 committed by Jaco Greeff
parent d172c83c26
commit d8a95084cb

View File

@ -27,7 +27,7 @@ const ERRORS = {
noName: 'you need to specify a valid name for the account',
noPhrase: 'you need to specify the recovery phrase',
noKey: 'you need to provide the raw private key',
invalidKey: 'the raw key needs to be hex, 64 characters in length',
invalidKey: 'the raw key needs to be hex, 64 characters in length and contain the prefix "0x"',
invalidPassword: 'you need to specify a password >= 8 characters',
noMatchPassword: 'the supplied passwords does not match'
};