From 23ec7b23e1b56b2f5c105e3e4a37cd197e701349 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Tue, 13 Dec 2022 11:19:59 +0800 Subject: [PATCH] lntemp: make sure mempool is synced when funding nodes --- lntemp/harness.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lntemp/harness.go b/lntemp/harness.go index 233495a41..033633f3a 100644 --- a/lntemp/harness.go +++ b/lntemp/harness.go @@ -216,7 +216,8 @@ func (h *HarnessTest) SetupStandbyNodes() { // We generate several blocks in order to give the outputs created // above a good number of confirmations. - h.MineBlocks(numBlocksSendOutput) + const totalTxes = 20 + h.MineBlocksAndAssertNumTxes(numBlocksSendOutput, totalTxes) // Now we want to wait for the nodes to catch up. h.WaitForBlockchainSync(h.Alice)