From 1532879c64a3673b18fe10072fb01e27de556a39 Mon Sep 17 00:00:00 2001 From: Matt Bell Date: Sat, 7 Jan 2017 14:35:54 -0800 Subject: [PATCH] Fixed RPC client tests --- rpc/test/client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/test/client_test.go b/rpc/test/client_test.go index 73729b4f6..bfaa175ed 100644 --- a/rpc/test/client_test.go +++ b/rpc/test/client_test.go @@ -134,7 +134,7 @@ func TestURITMSPQuery(t *testing.T) { k, v := sendTx() time.Sleep(time.Second) tmResult := new(ctypes.TMResult) - _, err := clientURI.Call("tmsp_query", map[string]interface{}{"query": Fmt("%X", k)}, tmResult) + _, err := clientURI.Call("tmsp_query", map[string]interface{}{"query": k}, tmResult) if err != nil { panic(err) } @@ -144,7 +144,7 @@ func TestURITMSPQuery(t *testing.T) { func TestJSONTMSPQuery(t *testing.T) { k, v := sendTx() tmResult := new(ctypes.TMResult) - _, err := clientJSON.Call("tmsp_query", []interface{}{Fmt("%X", k)}, tmResult) + _, err := clientJSON.Call("tmsp_query", []interface{}{k}, tmResult) if err != nil { panic(err) }