From ded9fe6a84c712be3f703d45a3c656d6643192be Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Fri, 17 Nov 2023 17:29:53 +0800 Subject: [PATCH] itest: fix flake in `multi_hop_htlc_remote_chain_claim` --- itest/lnd_multi-hop_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itest/lnd_multi-hop_test.go b/itest/lnd_multi-hop_test.go index e85de046ae..0e1120f3d1 100644 --- a/itest/lnd_multi-hop_test.go +++ b/itest/lnd_multi-hop_test.go @@ -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