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 {
222
-
handle_announce_close_broadcast_events(&nodes,0,1,true,"Funding transaction was un-confirmed. Locked at 6 confs, now have 2 confs.");
222
+
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.");
223
223
}else{
224
-
handle_announce_close_broadcast_events(&nodes,0,1,true,"Funding transaction was un-confirmed. Locked at 6 confs, now have 0 confs.");
224
+
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.");
if connect_style == ConnectStyle::FullBlockViaListen && !use_funding_unconfirmed {
290
-
handle_announce_close_broadcast_events(&nodes,0,1,true,"Funding transaction was un-confirmed. Locked at 6 confs, now have 2 confs.");
290
+
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.");
291
291
}else{
292
-
handle_announce_close_broadcast_events(&nodes,0,1,true,"Funding transaction was un-confirmed. Locked at 6 confs, now have 0 confs.");
292
+
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.");
if connect_style == ConnectStyle::FullBlockViaListen && !use_funding_unconfirmed {
308
-
check_closed_event!(nodes[1],1,ClosureReason::CounterpartyForceClosed{ peer_msg:"Funding transaction was un-confirmed. Locked at 6 confs, now have 2 confs.".to_string()});
306
+
let expected_err = if connect_style == ConnectStyle::FullBlockViaListen && !use_funding_unconfirmed {
307
+
"Funding transaction was un-confirmed. Locked at 6 confs, now have 2 confs."
309
308
}else{
310
-
check_closed_event!(nodes[1],1,ClosureReason::CounterpartyForceClosed{ peer_msg:"Funding transaction was un-confirmed. Locked at 6 confs, now have 0 confs.".to_string()});
311
-
}
309
+
"Funding transaction was un-confirmed. Locked at 6 confs, now have 0 confs."
310
+
};
311
+
check_closed_event!(nodes[1],1,ClosureReason::CounterpartyForceClosed{ peer_msg:"Channel closed because of an exception: ".to_owned() + expected_err });
0 commit comments