Sync from fork #74

Merged
0xmuralik merged 232 commits from murali/update-fork into main 2023-01-10 04:50:57 +00:00
Showing only changes of commit 51aa603b7f - Show all commits

View File

@ -47,7 +47,7 @@ func WrapTxToTypedData(
attr = append(attr, fmt.Sprintf("%v", b)) 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, "type_url": setRecordMsg.Payload.Record.Attributes.TypeUrl,
"value": attr, "value": attr,
} }