From: Tony Giorgio Date: Sun, 25 Jun 2023 02:20:50 +0000 (-0500) Subject: Clarify event doc specifying anchor support X-Git-Tag: v0.0.116-rc1~20^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=5cc625e8f73316e0d7860a76e147cc67dbf60608;p=rust-lightning Clarify event doc specifying anchor support --- diff --git a/lightning/src/events/mod.rs b/lightning/src/events/mod.rs index b9fb955a5..a6601e4d9 100644 --- a/lightning/src/events/mod.rs +++ b/lightning/src/events/mod.rs @@ -833,8 +833,11 @@ pub enum Event { /// Indicates that a transaction originating from LDK needs to have its fee bumped. This event /// requires confirmed external funds to be readily available to spend. /// - /// LDK does not currently generate this event. It is limited to the scope of channels with - /// anchor outputs, which will be introduced in a future release. + /// LDK does not currently generate this event unless the + /// [`ChannelHandshakeConfig::negotiate_anchors_zero_fee_htlc_tx`] config flag is set to true. + /// It is limited to the scope of channels with anchor outputs. + /// + /// [`ChannelHandshakeConfig::negotiate_anchors_zero_fee_htlc_tx`]: crate::util::config::ChannelHandshakeConfig::negotiate_anchors_zero_fee_htlc_tx BumpTransaction(BumpTransactionEvent), }