Commit 5be6fba4 authored by jiangpeng's avatar jiangpeng Committed by 33cn

fix linter

parent 853a4bad
File mode changed from 100644 to 100755
......@@ -43,7 +43,7 @@ func TestParaNodeMempool(t *testing.T) {
hash := mockpara.Para.SendTx(tx)
assert.Equal(t, tx.Hash(), hash)
_, err := mockpara.Para.GetAPI().GetMempool()
_, err := mockpara.Para.GetAPI().GetMempool(&types.ReqGetMempool{})
assert.Equal(t, err, types.ErrActionNotSupport)
t.Log(err)
}
......@@ -222,7 +222,7 @@ func TestRealNodeMempool(t *testing.T) {
<-done
}
for {
txs, err := mock33.GetAPI().GetMempool()
txs, err := mock33.GetAPI().GetMempool(&types.ReqGetMempool{})
assert.Nil(t, err)
println("len", len(txs.GetTxs()))
if len(txs.GetTxs()) > 0 {
......
......@@ -211,7 +211,7 @@ func TestRealNodeMempool(t *testing.T) {
<-done
}
for {
txs, err := mock33.GetAPI().GetMempool()
txs, err := mock33.GetAPI().GetMempool(&types.ReqGetMempool{})
assert.Nil(t, err)
println("len", len(txs.GetTxs()))
if len(txs.GetTxs()) > 0 {
......
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