diff --git a/go-cosmwasm/types/stderror.go b/go-cosmwasm/types/stderror.go index dc8bf8763..d46286b5d 100644 --- a/go-cosmwasm/types/stderror.go +++ b/go-cosmwasm/types/stderror.go @@ -189,7 +189,7 @@ func ToStdError(err error) *StdError { } // check if an interface is nil (even if it has type info) -func isNil(i interface{}) bool { +func isNil(i any) bool { if i == nil { return true }