Merge PR #2994: Change wrong password message

* change wrong password message

Closes: #2993

* Update PENDING.md
This commit is contained in:
Alessio Treglia 2018-12-04 16:23:10 +00:00 committed by Christopher Goes
parent d32e4a9fe0
commit 079b1f0ffa
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,8 @@ BREAKING CHANGES
* Gaia
- [#128](https://github.com/tendermint/devops/issues/128) Updated CircleCI job to trigger website build on every push to master/develop.
- [\#2994](https://github.com/cosmos/cosmos-sdk/pull/2994) Change wrong-password error message.
* SDK
- [auth] \#2952 Signatures are no longer serialized on chain with the account number and sequence number

View File

@ -57,7 +57,7 @@ func (e errWrongPassword) Code() int {
}
func (e errWrongPassword) Error() string {
return fmt.Sprintf("Ciphertext decryption failed")
return "invalid account password"
}
// NewErrWrongPassword returns a standardized error reflecting that the specified password is wrong