Skip to content

Commit 56fba35

Browse files
authored
Merge pull request #2465 from alecchendev/2023-07-flip-keysend-feature-bit
Flip keysend feature bit on
2 parents 390d49c + 7ee90a5 commit 56fba35

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lightning/src/ln/channelmanager.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -7426,7 +7426,9 @@ where
74267426
/// Fetches the set of [`NodeFeatures`] flags which are provided by or required by
74277427
/// [`ChannelManager`].
74287428
pub(crate) fn provided_node_features(config: &UserConfig) -> NodeFeatures {
7429-
provided_init_features(config).to_context()
7429+
let mut node_features = provided_init_features(config).to_context();
7430+
node_features.set_keysend_optional();
7431+
node_features
74307432
}
74317433

74327434
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags which are provided by or required by

0 commit comments

Comments
 (0)