From 45a95b5242e2cd10190369137b6a137552a1a328 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 25 Jun 2020 16:19:35 +0300 Subject: [PATCH] rpc/server: remove debug `fmt.Println()` from tests --- pkg/rpc/server/server_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/rpc/server/server_test.go b/pkg/rpc/server/server_test.go index 509867121..222a74853 100644 --- a/pkg/rpc/server/server_test.go +++ b/pkg/rpc/server/server_test.go @@ -984,9 +984,7 @@ func testRPCProtocol(t *testing.T, doRPCCall func(string, string, *testing.T) [] rpc := fmt.Sprintf(`{"jsonrpc": "2.0", "id": 1, "method": "getproof", "params": ["%s", "%s", "%x"]}`, r.Root.StringLE(), testContractHash, []byte("testkey")) - fmt.Println(rpc) body := doRPCCall(rpc, httpSrv.URL, t) - fmt.Println(string(body)) rawRes := checkErrGetResult(t, body, false) res := new(result.GetProof) require.NoError(t, json.Unmarshal(rawRes, res)) @@ -1008,7 +1006,6 @@ func testRPCProtocol(t *testing.T, doRPCCall func(string, string, *testing.T) [] t.Run("getstateroot", func(t *testing.T) { testRoot := func(t *testing.T, p string) { rpc := fmt.Sprintf(`{"jsonrpc": "2.0", "id": 1, "method": "getstateroot", "params": [%s]}`, p) - fmt.Println(rpc) body := doRPCCall(rpc, httpSrv.URL, t) rawRes := checkErrGetResult(t, body, false)