Skip to content

Commit 7ee90a5

Browse files
committed
Flip keysend feature bit in node features
1 parent 5cddf5e commit 7ee90a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 1 deletion
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)