Merge PR #3358: Bech32-ify address in error message return by ante handler
Closes: #3356
This commit is contained in:
parent
b5e245fee3
commit
e01794130a
|
@ -87,6 +87,7 @@ FEATURES
|
|||
the ante handler.
|
||||
* [\#3179](https://github.com/cosmos/cosmos-sdk/pull/3179) New CodeNoSignatures error code.
|
||||
* \#3319 [x/distribution] Queriers for all distribution state worth querying; distribution query commands
|
||||
* [\#3356](https://github.com/cosmos/cosmos-sdk/issues/3356) [x/auth] bech32-ify accounts address in error message.
|
||||
|
||||
* Tendermint
|
||||
|
||||
|
|
|
@ -211,7 +211,7 @@ func ProcessPubKey(acc Account, sig StdSignature, simulate bool) (crypto.PubKey,
|
|||
|
||||
if !bytes.Equal(pubKey.Address(), acc.GetAddress()) {
|
||||
return nil, sdk.ErrInvalidPubKey(
|
||||
fmt.Sprintf("PubKey does not match Signer address %v", acc.GetAddress())).Result()
|
||||
fmt.Sprintf("PubKey does not match Signer address %s", acc.GetAddress())).Result()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue