From daf90ff402836e735133dd184a7dec4f1b8b3ce4 Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Thu, 26 Jan 2023 17:01:39 +0000 Subject: [PATCH] Fix lint errors --- itests/eth_conformance_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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