We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d039d43 commit 92bd6a4Copy full SHA for 92bd6a4
tests/common/mod.rs
@@ -1146,8 +1146,10 @@ pub(crate) async fn do_channel_full_cycle<E: ElectrumApi>(
1146
);
1147
1148
println!("\nB close_channel (force: {})", force_close);
1149
+ // Allow the background processor to flush deferred monitor writes so that
1150
+ // the channel state no longer has monitor_update_in_progress set.
1151
+ tokio::time::sleep(Duration::from_secs(1)).await;
1152
if force_close {
- tokio::time::sleep(Duration::from_secs(1)).await;
1153
node_a.force_close_channel(&user_channel_id_a, node_b.node_id(), None).unwrap();
1154
} else {
1155
node_a.close_channel(&user_channel_id_a, node_b.node_id()).unwrap();
0 commit comments