From 51aa603b7f782649fe36f4e67c5d5bd9174632ac Mon Sep 17 00:00:00 2001 From: 0xmuralik Date: Mon, 9 Jan 2023 15:22:40 +0530 Subject: [PATCH] fix lint error --- ethereum/eip712/eip712.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethereum/eip712/eip712.go b/ethereum/eip712/eip712.go index d37e9c25..72e0af82 100644 --- a/ethereum/eip712/eip712.go +++ b/ethereum/eip712/eip712.go @@ -47,7 +47,7 @@ func WrapTxToTypedData( attr = append(attr, fmt.Sprintf("%v", b)) } - txData["msgs"].([]interface{})[0].(map[string]interface{})["value"].(map[string]interface{})["payload"].(map[string]interface{})["record"].(map[string]interface{})["attributes"] = map[string]interface{}{ + txData["msgs"].([]interface{})[0].(map[string]interface{})["value"].(map[string]interface{})["payload"].(map[string]interface{})["record"].(map[string]interface{})["attributes"] = map[string]interface{}{ //nolint:lll "type_url": setRecordMsg.Payload.Record.Attributes.TypeUrl, "value": attr, }