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 @@ -3817,13 +3817,16 @@ where
3817
3817
}
3818
3818
} else { Ok ( ( ) ) }
3819
3819
} ;
3820
- let _ = handle_error ! ( self , res, counterparty_node_id) ;
3821
3820
if !found_chan {
3822
3821
// TODO: If this channel has since closed, we're likely providing a payment
3823
3822
// preimage update, which we must ensure is durable! We currently don't,
3824
- // however, ensure that, and when we have a strategy therefor we should
3825
- // apply it here.
3823
+ // however, ensure that.
3824
+ if res. is_err ( ) {
3825
+ log_error ! ( self . logger,
3826
+ "Failed to provide ChannelMonitorUpdate to closed channel! This likely lost us a payment preimage!" ) ;
3827
+ }
3826
3828
}
3829
+ let _ = handle_error ! ( self , res, counterparty_node_id) ;
3827
3830
} ,
3828
3831
}
3829
3832
}
You can’t perform that action at this time.
0 commit comments