Skip to content

Commit 913b968

Browse files
committed
f - fix test flakiness?
1 parent 4bfb26f commit 913b968

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/common/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,9 @@ pub(crate) async fn do_channel_full_cycle<E: ElectrumApi>(
11031103
1
11041104
);
11051105

1106+
// Mine a block to give time for the HTLC to resolve
1107+
generate_blocks_and_wait(&bitcoind, electrsd, 1).await;
1108+
11061109
println!("\nB splices out to pay A");
11071110
let addr_a = node_a.onchain_payment().new_address().unwrap();
11081111
let splice_out_sat = funding_amount_sat / 2;

0 commit comments

Comments
 (0)