We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d70cc3 commit 6976ab8Copy full SHA for 6976ab8
lightning/src/chain/channelmonitor.rs
@@ -3237,6 +3237,10 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitorImpl<Signer> {
3237
|ChannelMonitorUpdateStep::ShutdownScript { .. }
3238
|ChannelMonitorUpdateStep::CommitmentSecret { .. } =>
3239
is_pre_close_update = true,
3240
+ // After a channel is closed, we don't communicate with our peer about it, so the
3241
+ // only things we will update is getting a new preimage (from a different channel)
3242
+ // or being told that the channel is closed. All other updates are generated while
3243
+ // talking to our peer.
3244
ChannelMonitorUpdateStep::PaymentPreimage { .. } => {},
3245
ChannelMonitorUpdateStep::ChannelForceClosed { .. } => {},
3246
}
0 commit comments