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 @@ -8318,7 +8318,7 @@ where
83188318 } else { None }
83198319 } else { None }
83208320 } ) ;
8321- for ( prev_hop_data, htlc , payment_preimage) in outbound_claimed_htlcs_iter {
8321+ for ( prev_hop_data, _ , payment_preimage) in outbound_claimed_htlcs_iter {
83228322 let mut is_chan_open = false ;
83238323 if let Some ( ( node_id, chan_id) ) = short_to_chan_info. get ( & prev_hop_data. short_channel_id ) {
83248324 if let Some ( mut peer) = per_peer_state. get_mut ( node_id) . map ( |node| node. lock ( ) . unwrap ( ) ) {
@@ -8335,6 +8335,9 @@ where
83358335 // guaranteed to regenerate this claim on
83368336 // restart as long as the source monitor
83378337 // sticks around.
8338+ // XXX - this is broken, the preimage monitor is not
8339+ // neccessarily closed and thus we need to block further
8340+ // updates to that channel on this new claim!
83388341 pending_background_events. push (
83398342 BackgroundEvent :: MonitorUpdateRegeneratedOnStartup {
83408343 counterparty_node_id : * node_id,
You can’t perform that action at this time.
0 commit comments