Skip to content

Commit 0f94992

Browse files
committed
Add update_persisted_channel doc to indicate rare case for None update
1 parent cb9bbd5 commit 0f94992

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/chain/chainmonitor.rs

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

0 commit comments

Comments
 (0)