File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3823,13 +3823,16 @@ where
3823
3823
}
3824
3824
} else { Ok ( ( ) ) }
3825
3825
} ;
3826
- let _ = handle_error ! ( self , res, counterparty_node_id) ;
3827
3826
if !found_chan {
3828
3827
// TODO: If this channel has since closed, we're likely providing a payment
3829
3828
// preimage update, which we must ensure is durable! We currently don't,
3830
- // however, ensure that, and when we have a strategy therefor we should
3831
- // apply it here.
3829
+ // however, ensure that.
3830
+ if res. is_err ( ) {
3831
+ log_error ! ( self . logger,
3832
+ "Failed to provide ChannelMonitorUpdate to closed channel! This likely lost us a payment preimage!" ) ;
3833
+ }
3832
3834
}
3835
+ let _ = handle_error ! ( self , res, counterparty_node_id) ;
3833
3836
} ,
3834
3837
}
3835
3838
}
You can’t perform that action at this time.
0 commit comments