Skip to content

Commit 71fef35

Browse files
committed
Correct ChannelMonitor::is_fully_resolved docs
The block count at which the monitor will become prunable was changed by an update while the PR was pending but not propagated to the docs.
1 parent 195e666 commit 71fef35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1865,7 +1865,7 @@ impl<Signer: WriteableEcdsaChannelSigner> ChannelMonitor<Signer> {
18651865
/// its outputs and balances (i.e. [`Self::get_claimable_balances`] returns an empty set).
18661866
///
18671867
/// This function returns true only if [`Self::get_claimable_balances`] has been empty for at least
1868-
/// 2016 blocks as an additional protection against any bugs resulting in spuriously empty balance sets.
1868+
/// 4032 blocks as an additional protection against any bugs resulting in spuriously empty balance sets.
18691869
pub fn is_fully_resolved<L: Logger>(&self, logger: &L) -> bool {
18701870
let mut is_all_funds_claimed = self.get_claimable_balances().is_empty();
18711871
let current_height = self.current_best_block().height;

0 commit comments

Comments
 (0)