Skip to content

Commit d29f8ff

Browse files
committed
Correct get_claimable_balance version info
5a8ede0 updated the documentation on `get_claimable_balance` to note that if a channel went on-chain with an LDK version older than 0.0.108 some counterparty-revoked-output claimable balances my be missing. However, this failed to account for the fact that we rely on the entirely-new-in-0.0.111 `confirmed_commitment_tx_counterparty_output` field for some balances as well. Thus, the comment should have been in terms of 0.0.111, not 0.0.108.
1 parent 3fb3218 commit d29f8ff

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
@@ -1630,7 +1630,7 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
16301630
/// confirmations on the claim transaction.
16311631
///
16321632
/// Note that for `ChannelMonitors` which track a channel which went on-chain with versions of
1633-
/// LDK prior to 0.0.108, balances may not be fully captured if our counterparty broadcasted
1633+
/// LDK prior to 0.0.111, balances may not be fully captured if our counterparty broadcasted
16341634
/// a revoked state.
16351635
///
16361636
/// See [`Balance`] for additional details on the types of claimable balances which

0 commit comments

Comments
 (0)