Note required levels of descendant transactions in get_spendable_outputs
[rust-lightning] / lightning / src / chain / channelmonitor.rs
index 7088d32d1607e1f4fa0137d6ceda9182d32ca3b2..61669b784f846cd99f9cf8ebee4a5b1fe170010b 100644 (file)
@@ -1680,8 +1680,7 @@ impl<Signer: WriteableEcdsaChannelSigner> ChannelMonitor<Signer> {
        /// missed/unhandled descriptors. For the purpose of gathering historical records, if the
        /// channel close has fully resolved (i.e., [`ChannelMonitor::get_claimable_balances`] returns
        /// an empty set), you can retrieve all spendable outputs by providing all descendant spending
-       /// transactions starting from the channel's funding or closing transaction that have at least
-       /// [`ANTI_REORG_DELAY`] confirmations.
+       /// transactions starting from the channel's funding transaction and going down three levels.
        ///
        /// `tx` is a transaction we'll scan the outputs of. Any transaction can be provided. If any
        /// outputs which can be spent by us are found, at least one descriptor is returned.