accounts: add ErrDecrypt

This commit is contained in:
Felix Lange
2016-04-01 22:41:47 +02:00
parent a9f26dcd0d
commit 6f1ca0bc91
6 changed files with 8 additions and 9 deletions

View File

@ -127,7 +127,7 @@ func TestWalletImportBadPassword(t *testing.T) {
geth.expect(`
!! Unsupported terminal, password will be echoed.
Passphrase: {{.InputLine "wrong"}}
Fatal: Could not create the account: Decryption failed: PKCS7Unpad failed after AES decryption
Fatal: could not decrypt key with given passphrase
`)
}