projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cddf5e
)
Flip keysend feature bit in node features
author
Alec Chen
<alecchendev@gmail.com>
Mon, 31 Jul 2023 02:18:43 +0000
(21:18 -0500)
committer
Alec Chen
<alecchendev@gmail.com>
Mon, 31 Jul 2023 02:18:43 +0000
(21:18 -0500)
lightning/src/ln/channelmanager.rs
patch
|
blob
|
history
diff --git
a/lightning/src/ln/channelmanager.rs
b/lightning/src/ln/channelmanager.rs
index c7fc70a4593d66601b7d0d0e2acf8759196e5ffd..6cd4799ff3cf77063e5b313e8a6d6a70631373a7 100644
(file)
--- a/
lightning/src/ln/channelmanager.rs
+++ b/
lightning/src/ln/channelmanager.rs
@@
-7426,7
+7426,9
@@
where
/// Fetches the set of [`NodeFeatures`] flags which are provided by or required by
/// [`ChannelManager`].
pub(crate) fn provided_node_features(config: &UserConfig) -> NodeFeatures {
- provided_init_features(config).to_context()
+ let mut node_features = provided_init_features(config).to_context();
+ node_features.set_keysend_optional();
+ node_features
}
/// Fetches the set of [`Bolt11InvoiceFeatures`] flags which are provided by or required by