itest: fix misuse of MineBlocks and replace it with

`MineBlocksAndAssertNumTxes`
This commit is contained in:
yyforyongyu
2024-05-20 23:06:20 +08:00
committed by yyforyongyu
parent f1f341095e
commit 8240a87c2b
8 changed files with 19 additions and 11 deletions

View File

@@ -104,7 +104,7 @@ func (h *HarnessTest) MineBlocksAndAssertNumTxes(num uint32,
txids := h.AssertNumTxsInMempool(numTxs)
// Mine blocks.
blocks := h.miner.MineBlocksSlow(num)
blocks := h.miner.MineBlocks(num)
// Assert that all the transactions were included in the first block.
for _, txid := range txids {