Browse Source

Fixed RPC client tests

pull/353/head
Matt Bell 8 years ago
parent
commit
1532879c64
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      rpc/test/client_test.go

+ 2
- 2
rpc/test/client_test.go View File

@ -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)
}


Loading…
Cancel
Save