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