@@ -1781,15 +1781,7 @@ impl<S: MutinyStorage> Node<S> {
1781
1781
. lsp_client
1782
1782
. as_ref ( )
1783
1783
. is_some_and ( |l| l. accept_underpaying_htlcs ( ) ) ;
1784
- let mut config = default_user_config ( accept_underpaying_htlcs) ;
1785
-
1786
- // if we are opening channel to LSP, turn off SCID alias until CLN is updated
1787
- // LSP protects all invoice information anyways, so no UTXO leakage
1788
- if let Some ( lsp) = self . lsp_client . clone ( ) {
1789
- if pubkey == lsp. get_lsp_pubkey ( ) . await {
1790
- config. channel_handshake_config . negotiate_scid_privacy = false ;
1791
- }
1792
- }
1784
+ let config = default_user_config ( accept_underpaying_htlcs) ;
1793
1785
1794
1786
let user_channel_id = user_channel_id. unwrap_or_else ( || {
1795
1787
// generate random user channel id
@@ -1890,14 +1882,7 @@ impl<S: MutinyStorage> Node<S> {
1890
1882
. lsp_client
1891
1883
. as_ref ( )
1892
1884
. is_some_and ( |l| l. accept_underpaying_htlcs ( ) ) ;
1893
- let mut config = default_user_config ( accept_underpaying_htlcs) ;
1894
- // if we are opening channel to LSP, turn off SCID alias until CLN is updated
1895
- // LSP protects all invoice information anyways, so no UTXO leakage
1896
- if let Some ( lsp) = self . lsp_client . clone ( ) {
1897
- if pubkey == lsp. get_lsp_pubkey ( ) . await {
1898
- config. channel_handshake_config . negotiate_scid_privacy = false ;
1899
- }
1900
- }
1885
+ let config = default_user_config ( accept_underpaying_htlcs) ;
1901
1886
1902
1887
let user_channel_id = user_chan_id. unwrap_or_else ( || {
1903
1888
// generate random user channel id
@@ -2364,7 +2349,7 @@ pub(crate) fn default_user_config(accept_underpaying_htlcs: bool) -> UserConfig
2364
2349
announced_channel : false ,
2365
2350
negotiate_scid_privacy : true ,
2366
2351
commit_upfront_shutdown_pubkey : false ,
2367
- negotiate_anchors_zero_fee_htlc_tx : false ,
2352
+ negotiate_anchors_zero_fee_htlc_tx : true , // enable anchor channels
2368
2353
max_inbound_htlc_value_in_flight_percent_of_channel : 100 ,
2369
2354
our_to_self_delay : 6 * 24 * 2 , // 2 days
2370
2355
their_channel_reserve_proportional_millionths : 0 ,
0 commit comments