Skip to content

Commit 4277868

Browse files
Merge pull request #3786 from Anyitechs/doc-accept-forwards-to-priv-channels
lightning: improve `accept_forwards_to_priv_channels` doc
2 parents 6ac205a + 2e5ff7e commit 4277868

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning/src/util/config.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,12 @@ pub struct UserConfig {
830830
/// all your channels and open new ones. For privacy, you should also change your node_id
831831
/// (swapping all private and public key material for new ones) at that time.
832832
///
833+
/// Note that this setting does not apply for intercepted payments that are surfaced via
834+
/// [`Event::HTLCIntercepted`] and manually forwarded.
835+
///
833836
/// Default value: `false`
837+
///
838+
/// [`Event::HTLCIntercepted`]: crate::events::Event::HTLCIntercepted
834839
pub accept_forwards_to_priv_channels: bool,
835840
/// If this is set to `false`, we do not accept inbound requests to open a new channel.
836841
///

0 commit comments

Comments
 (0)