From 5cc625e8f73316e0d7860a76e147cc67dbf60608 Mon Sep 17 00:00:00 2001 From: Tony Giorgio Date: Sat, 24 Jun 2023 21:20:50 -0500 Subject: [PATCH] Clarify event doc specifying anchor support --- lightning/src/events/mod.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lightning/src/events/mod.rs b/lightning/src/events/mod.rs index b9fb955a..a6601e4d 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), } -- 2.30.2