Skip to content

Commit

Permalink
Merge PR #2994: Change wrong password message
Browse files Browse the repository at this point in the history
* change wrong password message

Closes: #2993

* Update PENDING.md
  • Loading branch information
alessio authored and mircea-c committed Dec 5, 2018
1 parent 0e0b9e8 commit 90e1bde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion crypto/keys/keyerror/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90e1bde

Please sign in to comment.