From 067f08f092d4f97af32ac4a8351de95213fa9a46 Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Wed, 7 Dec 2022 13:53:25 +0000 Subject: [PATCH] Fix marshal test --- api/eth_types_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/eth_types_test.go b/api/eth_types_test.go index d65a32625..845c14edd 100644 --- a/api/eth_types_test.go +++ b/api/eth_types_test.go @@ -176,7 +176,7 @@ func TestEthFilterResultMarshalJSON(t *testing.T) { BlockHash: hash2, BlockNumber: 53, Topics: []EthBytes{hash1[:]}, - Data: []EthBytes{hash1[:]}, + Data: EthBytes(hash1[:]), Address: addr, } logjson, err := json.Marshal(log)