itest: fix multi-hop itest

This commit is contained in:
yyforyongyu committed 2024-04-19 21:33:36 +08:00
1 parent ce58175314
commit f68c14321b
3 files changed
+430 -380

No files matched your search

+4
View File
@@ -1724,6 +1724,10 @@ func (h *HarnessTest) MineBlocks(num uint32) []*wire.MsgBlock {
//
// NOTE: this differs from miner's `MineBlocks` as it requires the nodes to be
// synced.
//
// TODO(yy): change the APIs to force callers to think about blocks and txns:
// - MineBlocksAndAssertNumTxes -> MineBlocks
// - add more APIs to mine a single tx.
func (h *HarnessTest) MineBlocksAndAssertNumTxes(num uint32,
numTxs int) []*wire.MsgBlock {