Commit c6fa4e0b authored by mdj33's avatar mdj33 Committed by vipwzw

fix ut

parent 2dec6ca8
......@@ -201,6 +201,8 @@ func TestAddMinerTx(t *testing.T) {
Txs: filterTxs}
para := new(client)
para.privateKey = priKey
para.blockSyncClient = new(BlockSyncClient)
para.blockSyncClient.paraClient = para
para.blockSyncClient.addMinerTx(nil, block, localBlock)
assert.Equal(t, 1, len(block.Txs))
......
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