itest: fix flake in multi_hop_htlc_remote_chain_claim

This commit is contained in:
yyforyongyu 2023-11-17 17:29:53 +08:00
parent 64753b01d1
commit ded9fe6a84
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868

View File

@ -1435,7 +1435,7 @@ func runMultiHopHtlcRemoteChainClaim(ht *lntest.HarnessTest,
// If we then mine 3 additional blocks, Carol's second level tx will
// mature, and she should pull the funds.
ht.MineBlocks(carolSecondLevelCSV)
ht.MineEmptyBlocks(int(carolSecondLevelCSV))
carolSweep := ht.Miner.AssertNumTxsInMempool(1)[0]
// When Carol's sweep gets confirmed, she should have no more pending