Merge remote-tracking branch 'mappum/rpc-tests' into unstable

This commit is contained in:
Ethan Buchman 2017-01-12 02:46:10 -05:00
commit 56341de5eb
1 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ func TestURITMSPQuery(t *testing.T) {
k, v := sendTx() k, v := sendTx()
time.Sleep(time.Second) time.Sleep(time.Second)
tmResult := new(ctypes.TMResult) 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 { if err != nil {
panic(err) panic(err)
} }
@ -144,7 +144,7 @@ func TestURITMSPQuery(t *testing.T) {
func TestJSONTMSPQuery(t *testing.T) { func TestJSONTMSPQuery(t *testing.T) {
k, v := sendTx() k, v := sendTx()
tmResult := new(ctypes.TMResult) 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 { if err != nil {
panic(err) panic(err)
} }