Skip to content

Commit aae39b4

Browse files
Advertise route blinding feature as supported.
Now that we fully support forwarding blinded payments, we should advertise support so nodes on the network can include us in their blinded paths.
1 parent 027aef2 commit aae39b4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9357,6 +9357,7 @@ pub fn provided_init_features(config: &UserConfig) -> InitFeatures {
93579357
features.set_channel_type_optional();
93589358
features.set_scid_privacy_optional();
93599359
features.set_zero_conf_optional();
9360+
features.set_route_blinding_optional();
93609361
if config.channel_handshake_config.negotiate_anchors_zero_fee_htlc_tx {
93619362
features.set_anchors_zero_fee_htlc_tx_optional();
93629363
}

lightning/src/ln/peer_handler.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ impl ChannelMessageHandler for ErroringMessageHandler {
305305
features.set_channel_type_optional();
306306
features.set_scid_privacy_optional();
307307
features.set_zero_conf_optional();
308+
features.set_route_blinding_optional();
308309
features
309310
}
310311

0 commit comments

Comments
 (0)