Skip to content

Commit 3ebd017

Browse files
committed
Enable 0FC channels if AnchorChannelsConfig is set
1 parent a6d3776 commit 3ebd017

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/config.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ 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.channel_handshake_config.negotiate_anchor_zero_fee_commitments =
329+
config.anchor_channels_config.is_some();
328330

329331
if may_announce_channel(config).is_err() {
330332
user_config.accept_forwards_to_priv_channels = false;

0 commit comments

Comments
 (0)