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