diff --git a/itests/eth_conformance_test.go b/itests/eth_conformance_test.go index 344c8ef65..4ab8e848c 100644 --- a/itests/eth_conformance_test.go +++ b/itests/eth_conformance_test.go @@ -70,7 +70,7 @@ func TestEthOpenRPCConformance(t *testing.T) { require.NoError(t, err) specParsed := orpctypes.NewOpenRPCSpec1() - err = json.Unmarshal([]byte(specJSON), specParsed) + err = json.Unmarshal(specJSON, specParsed) require.NoError(t, err) parse.GetTypes(specParsed, specParsed.Objects) @@ -395,6 +395,7 @@ func TestEthOpenRPCConformance(t *testing.T) { } for _, tc := range testCases { + tc := tc name := tc.method if tc.variant != "" { name += "_" + tc.variant