From 2fa6a01b98888d87046a2cc74929f51d5fb584d5 Mon Sep 17 00:00:00 2001 From: 0xCrypto-Bear Date: Tue, 12 Dec 2023 12:29:25 +0530 Subject: [PATCH] fix: lint fixes --- x/auth/client/cli/tx_multisign.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x/auth/client/cli/tx_multisign.go b/x/auth/client/cli/tx_multisign.go index 5b9523c18688..a8e7bf4407be 100644 --- a/x/auth/client/cli/tx_multisign.go +++ b/x/auth/client/cli/tx_multisign.go @@ -158,7 +158,9 @@ func makeMultiSignCmd() func(cmd *cobra.Command, args []string) (err error) { } for _, sig := range extractedSignatues { - multisig.AddSignatureV2(multisigSig, sig, multisigPub.GetPubKeys()) + if err := multisig.AddSignatureV2(multisigSig, sig, multisigPub.GetPubKeys()); err != nil { + return err + } } // read each signature and add it to the multisig if valid