Skip to content

Commit 25a9564

Browse files
committed
doc(lightning): document that accept_forwards_to_priv_channels does not apply for intercepted payments
1 parent 18eb30b commit 25a9564

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/util/config.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,9 @@ 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`
834837
pub accept_forwards_to_priv_channels: bool,
835838
/// If this is set to `false`, we do not accept inbound requests to open a new channel.

0 commit comments

Comments
 (0)