File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -8303,7 +8303,7 @@ where
83038303 } else { None }
83048304 } else { None }
83058305 } ) ;
8306- for ( prev_hop_data, htlc , payment_preimage) in outbound_claimed_htlcs_iter {
8306+ for ( prev_hop_data, _ , payment_preimage) in outbound_claimed_htlcs_iter {
83078307 let mut is_chan_open = false ;
83088308 if let Some ( ( node_id, chan_id) ) = short_to_chan_info. get ( & prev_hop_data. short_channel_id ) {
83098309 if let Some ( mut peer) = per_peer_state. get_mut ( node_id) . map ( |node| node. lock ( ) . unwrap ( ) ) {
@@ -8320,6 +8320,9 @@ where
83208320 // guaranteed to regenerate this claim on
83218321 // restart as long as the source monitor
83228322 // sticks around.
8323+ // XXX - this is broken, the preimage monitor is not
8324+ // neccessarily closed and thus we need to block further
8325+ // updates to that channel on this new claim!
83238326 pending_background_events. push (
83248327 BackgroundEvent :: MonitorUpdateRegeneratedOnStartup {
83258328 counterparty_node_id : * node_id,
You can’t perform that action at this time.
0 commit comments