From 5e2b905051de6c83c81cad3b7697ed36d723137a Mon Sep 17 00:00:00 2001 From: mmsqe Date: Fri, 10 May 2024 17:29:11 +0800 Subject: [PATCH] Update client/debug/main.go Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com> --- client/debug/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/debug/main.go b/client/debug/main.go index f9f8a176f5e..1e2818d466f 100644 --- a/client/debug/main.go +++ b/client/debug/main.go @@ -266,7 +266,7 @@ func AddrCmd() *cobra.Command { clientCtx.ValidatorAddressCodec.StringToBytes, clientCtx.ConsensusAddressCodec.StringToBytes, } - errs := make([]any, 0, len(decodeFns)) + errs := make([]error 0, len(decodeFns)) for _, fn := range decodeFns { if addr, err = fn(addrString); err == nil { break