We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5b0f3f commit cdb72b1Copy full SHA for cdb72b1
x/wasm/keeper/api.go
@@ -48,7 +48,7 @@ func canonicalizeAddress(human string) ([]byte, uint64, error) {
48
func validateAddress(human string) (uint64, error) {
49
canonicalized, err := sdk.AccAddressFromBech32(human)
50
if err != nil {
51
- return costValidate, err
+ return costCanonical, err
52
}
53
// AccAddressFromBech32 already calls VerifyAddressFormat, so we can just humanize and compare
54
if canonicalized.String() != human {
0 commit comments