Skip to content

Commit

Permalink
f Only negotiate if configured
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Feb 19, 2024
1 parent 61d8e2c commit 5c4ba5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,8 @@ fn build_with_store_internal<K: KVStore + Sync + Send + 'static>(
let mut user_config = UserConfig::default();
user_config.channel_handshake_limits.force_announced_channel_preference = false;
user_config.manually_accept_inbound_channels = true;
user_config.channel_handshake_config.negotiate_anchors_zero_fee_htlc_tx = true;
user_config.channel_handshake_config.negotiate_anchors_zero_fee_htlc_tx =
config.anchor_channels_config.is_some();

let channel_manager = {
if let Ok(res) = kv_store.read(
Expand Down

0 comments on commit 5c4ba5a

Please sign in to comment.