From c36fc2e268afdb2adb2d7d6d704879e314e69b74 Mon Sep 17 00:00:00 2001 From: rifeplight Date: Sun, 30 Nov 2025 11:43:01 +0800 Subject: [PATCH] refactor: replace interface{} with any for clarity and modernization Signed-off-by: rifeplight --- go-cosmwasm/types/stderror.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-cosmwasm/types/stderror.go b/go-cosmwasm/types/stderror.go index dc8bf87631..d46286b5dd 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 }