We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e73296 commit 7ad7029Copy full SHA for 7ad7029
src/config.rs
@@ -283,5 +283,11 @@ pub(crate) fn default_user_config(config: &Config) -> UserConfig {
283
user_config.channel_handshake_config.negotiate_anchors_zero_fee_htlc_tx =
284
config.anchor_channels_config.is_some();
285
286
+ if config.listening_addresses.is_none() || config.node_alias.is_none() {
287
+ user_config.accept_forwards_to_priv_channels = false;
288
+ user_config.channel_handshake_config.announced_channel = false;
289
+ user_config.channel_handshake_limits.force_announced_channel_preference = true;
290
+ }
291
+
292
user_config
293
}
0 commit comments