Skip to content

Commit 976acd8

Browse files
committed
Add update_persisted_channel doc to indicate rare case for None update
1 parent 5e6a0d5 commit 976acd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/chain/chainmonitor.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ pub trait Persist<ChannelSigner: WriteableEcdsaChannelSigner> {
164164
/// updated monitor itself to disk/backups. See the [`Persist`] trait documentation for more
165165
/// details.
166166
///
167-
/// During blockchain synchronization operations, this may be called with no
168-
/// [`ChannelMonitorUpdate`], in which case the full [`ChannelMonitor`] needs to be persisted.
167+
/// During blockchain synchronization operations, and in some rare cases, this may be called with
168+
/// no [`ChannelMonitorUpdate`], in which case the full [`ChannelMonitor`] needs to be persisted.
169169
/// Note that after the full [`ChannelMonitor`] is persisted any previous
170170
/// [`ChannelMonitorUpdate`]s which were persisted should be discarded - they can no longer be
171171
/// applied to the persisted [`ChannelMonitor`] as they were already applied.

0 commit comments

Comments
 (0)