You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if connect_style == ConnectStyle::FullBlockViaListen && !use_funding_unconfirmed {
216
-
handle_announce_close_broadcast_events(&nodes,0,1,true,"Channel closed because of an exception: Funding transaction was un-confirmed. Locked at 6 confs, now have 2 confs.");
217
-
}else{
218
-
handle_announce_close_broadcast_events(&nodes,0,1,true,"Channel closed because of an exception: Funding transaction was un-confirmed. Locked at 6 confs, now have 0 confs.");
219
-
}
219
+
handle_announce_close_broadcast_events(&nodes,0,1,true,"Channel closed because of an exception: Funding transaction was un-confirmed. Locked at 6 confs, now have 0 confs.");
220
220
check_added_monitors!(nodes[1],1);
221
221
{
222
222
let channel_state = nodes[0].node.channel_state.lock().unwrap();
if connect_style == ConnectStyle::FullBlockViaListen && !use_funding_unconfirmed {
284
-
handle_announce_close_broadcast_events(&nodes,0,1,true,"Channel closed because of an exception: Funding transaction was un-confirmed. Locked at 6 confs, now have 2 confs.");
285
-
}else{
286
-
handle_announce_close_broadcast_events(&nodes,0,1,true,"Channel closed because of an exception: Funding transaction was un-confirmed. Locked at 6 confs, now have 0 confs.");
287
-
}
287
+
handle_announce_close_broadcast_events(&nodes,0,1,true,"Channel closed because of an exception: Funding transaction was un-confirmed. Locked at 6 confs, now have 0 confs.");
288
288
check_added_monitors!(nodes[1],1);
289
289
{
290
290
let channel_state = nodes[0].node.channel_state.lock().unwrap();
nodes[0].node.test_process_background_events();// Required to free the pending background monitor update
299
299
check_added_monitors!(nodes[0],1);
300
-
let expected_err = if connect_style == ConnectStyle::FullBlockViaListen && !use_funding_unconfirmed {
301
-
"Funding transaction was un-confirmed. Locked at 6 confs, now have 2 confs."
302
-
}else{
303
-
"Funding transaction was un-confirmed. Locked at 6 confs, now have 0 confs."
304
-
};
300
+
let expected_err = "Funding transaction was un-confirmed. Locked at 6 confs, now have 0 confs.";
305
301
check_closed_event!(nodes[1],1,ClosureReason::CounterpartyForceClosed{ peer_msg:"Channel closed because of an exception: ".to_owned() + expected_err });
0 commit comments