@@ -882,13 +882,12 @@ macro_rules! handle_chan_restoration_locked {
882
882
883
883
let chanmon_update: Option <ChannelMonitorUpdate > = $chanmon_update; // Force type-checking to resolve
884
884
if chanmon_update. is_some( ) {
885
- // On reconnect (or monitor restoration), we, by definition, only resend a
886
- // funding_locked if there have been no commitment updates, so the only channel
887
- // monitor update which could also be associated with a funding_locked would be
888
- // the funding_created/funding_signed monitor update. That monitor update failing
889
- // implies that we won't send funding_locked until it's been updated, so we can't
890
- // have a funding_locked and a monitor update here (so we don't bother to handle it
891
- // correctly below).
885
+ // On reconnect, we, by definition, only resend a funding_locked if there have been
886
+ // no commitment updates, so the only channel monitor update which could also be
887
+ // associated with a funding_locked would be the funding_created/funding_signed
888
+ // monitor update. That monitor update failing implies that we won't send
889
+ // funding_locked until it's been updated, so we can't have a funding_locked and a
890
+ // monitor update here (so we don't bother to handle it correctly below).
892
891
assert!( $funding_locked. is_none( ) ) ;
893
892
// A channel monitor update makes no sense without either a funding_locked or a
894
893
// commitment update to process after it. Since we can't have a funding_locked, we
0 commit comments