lntemp: make sure mempool is synced when funding nodes

This commit is contained in:
yyforyongyu 2022-12-13 11:19:59 +08:00
parent 3353643006
commit 23ec7b23e1
No known key found for this signature in database
GPG key ID: 9BCD95C4FF296868

View file

@ -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)