From ee66bf30b6f021bf210da9de6f687dced209943c Mon Sep 17 00:00:00 2001 From: Roshan Date: Thu, 28 Sep 2023 17:30:03 +0800 Subject: [PATCH] fix lint issue --- client/tx/factory.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/tx/factory.go b/client/tx/factory.go index 1b188145a..a9eab73ec 100644 --- a/client/tx/factory.go +++ b/client/tx/factory.go @@ -449,9 +449,6 @@ func (f Factory) PrintEIP712MsgType(clientCtx client.Context, msgs ...sdk.Msg) e for i := 1; i <= len(msgs); i++ { msgData[fmt.Sprintf("msg%d", i)] = typedData.Message[fmt.Sprintf("msg%d", i)] } - if msgData == nil { - return fmt.Errorf("failed to get msg data") - } type EIP712TypedData struct { EIP712MessageType apitypes.Types `json:"EIP712MessageType"`