Commit 0b855855 authored by vipwzw's avatar vipwzw

Update rpc_real_test.go

parent 98f58bc6
...@@ -62,6 +62,7 @@ func getRPCClient(t *testing.T, mocker *testnode.Chain33Mock) *jsonclient.JSONCl ...@@ -62,6 +62,7 @@ func getRPCClient(t *testing.T, mocker *testnode.Chain33Mock) *jsonclient.JSONCl
assert.NotNil(t, jrpcClient) assert.NotNil(t, jrpcClient)
return jrpcClient return jrpcClient
} }
func getTx(t *testing.T, hex string) *types.Transaction { func getTx(t *testing.T, hex string) *types.Transaction {
data, err := common.FromHex(hex) data, err := common.FromHex(hex)
assert.Nil(t, err) assert.Nil(t, err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment