Commit 88abfb8e authored by linj's avatar linj Committed by vipwzw

add rpc test

parent 1fc14e83
......@@ -58,6 +58,15 @@ func TestChannelClient_BindMiner(t *testing.T) {
}
_, err := client.CreateBindMiner(context.Background(), in)
assert.Nil(t, err)
var in2 = &ty.ReqBindMiner{
BindAddr: "",
OriginAddr: "1Jn2qu84Z1SUUosWjySggBS9pKWdAP3tZt",
Amount: 10000 * types.Coin,
CheckBalance: false,
}
_, err = client.CreateBindMiner(context.Background(), in2)
assert.Nil(t, err)
}
func testGetTicketCountOK(t *testing.T) {
......
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