Skip to content

Commit c874049

Browse files
committed
Enable 0FC channels if AnchorChannelsConfig is set
1 parent 7e9ea27 commit c874049

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
@@ -319,6 +319,8 @@ pub(crate) fn default_user_config(config: &Config) -> UserConfig {
319319
user_config.manually_accept_inbound_channels = true;
320320
user_config.channel_handshake_config.negotiate_anchors_zero_fee_htlc_tx =
321321
config.anchor_channels_config.is_some();
322+
user_config.channel_handshake_config.negotiate_anchor_zero_fee_commitments =
323+
config.anchor_channels_config.is_some();
322324

323325
if may_announce_channel(config).is_err() {
324326
user_config.accept_forwards_to_priv_channels = false;

0 commit comments

Comments
 (0)