mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-18 10:06:51 +01:00
itest: fix misuse of MineBlocks and replace it with
`MineBlocksAndAssertNumTxes`
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user