File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -326,8 +326,11 @@ pub(crate) fn default_user_config(config: &Config) -> UserConfig {
326326 user_config. manually_accept_inbound_channels = true ;
327327 user_config. channel_handshake_config . negotiate_anchors_zero_fee_htlc_tx =
328328 config. anchor_channels_config . is_some ( ) ;
329- user_config. channel_handshake_config . negotiate_anchor_zero_fee_commitments =
330- config. anchor_channels_config . as_ref ( ) . map ( |config| config. enable_zero_fee_commitments ) . unwrap_or ( false ) ;
329+ user_config. channel_handshake_config . negotiate_anchor_zero_fee_commitments = config
330+ . anchor_channels_config
331+ . as_ref ( )
332+ . map ( |config| config. enable_zero_fee_commitments )
333+ . unwrap_or ( false ) ;
331334
332335 if may_announce_channel ( config) . is_err ( ) {
333336 user_config. accept_forwards_to_priv_channels = false ;
You can’t perform that action at this time.
0 commit comments