diff --git a/x/wasm/keeper/api.go b/x/wasm/keeper/api.go index f774b042e8..ed547b1fef 100644 --- a/x/wasm/keeper/api.go +++ b/x/wasm/keeper/api.go @@ -51,7 +51,7 @@ func validateAddress(human string) (uint64, error) { return costValidate, err } // AccAddressFromBech32 already calls VerifyAddressFormat, so we can just humanize and compare - if sdk.AccAddress(canonicalized).String() != human { + if canonicalized.String() != human { return costValidate, errors.New("address not normalized") } return costValidate, err