File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ impl<'a> Drop for MoneyLossDetector<'a> {
252
252
}
253
253
254
254
// Force all channels onto the chain (and time out claim txn)
255
- self . manager . force_close_all_channels ( ) ;
255
+ self . manager . force_close_all_channels_broadcasting_latest_txn ( ) ;
256
256
}
257
257
}
258
258
}
@@ -624,7 +624,7 @@ pub fn do_test(data: &[u8], logger: &Arc<dyn Logger>) {
624
624
let channel_id = get_slice ! ( 1 ) [ 0 ] as usize ;
625
625
if channel_id >= channels. len ( ) { return ; }
626
626
channels. sort_by ( |a, b| { a. channel_id . cmp ( & b. channel_id ) } ) ;
627
- channelmanager. force_close_channel ( & channels[ channel_id] . channel_id , & channels[ channel_id] . counterparty . node_id ) . unwrap ( ) ;
627
+ channelmanager. force_close_broadcasting_latest_txn ( & channels[ channel_id] . channel_id , & channels[ channel_id] . counterparty . node_id ) . unwrap ( ) ;
628
628
} ,
629
629
// 15 is above
630
630
_ => return ,
You can’t perform that action at this time.
0 commit comments