Skip to content

Commit 677bc4b

Browse files
committed
Accept inbound splice attempts
Since LDK Node does not support downgrades, there's no need to have a Config parameter for accepting inbound splices. Instead, enable it by default.
1 parent d08c275 commit 677bc4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ pub(crate) fn default_user_config(config: &Config) -> UserConfig {
325325
user_config.manually_accept_inbound_channels = true;
326326
user_config.channel_handshake_config.negotiate_anchors_zero_fee_htlc_tx =
327327
config.anchor_channels_config.is_some();
328+
user_config.reject_inbound_splices = false;
328329

329330
if may_announce_channel(config).is_err() {
330331
user_config.accept_forwards_to_priv_channels = false;

0 commit comments

Comments
 (0)