Skip to content

Commit 3ac1658

Browse files
committed
fixup! Expose APIs to access supported feature flags
rename node_features to just features
1 parent f4cef50 commit 3ac1658

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1935,7 +1935,7 @@ impl Node {
19351935
}
19361936

19371937
/// Returns the node's invariant features used in node announcement.
1938-
pub fn node_features(&self) -> NodeFeatures {
1938+
pub fn features(&self) -> NodeFeatures {
19391939
let gossip_features = match self.gossip_source.as_gossip_sync() {
19401940
lightning_background_processor::GossipSync::P2P(p2p_gossip_sync) => {
19411941
p2p_gossip_sync.provided_node_features()

0 commit comments

Comments
 (0)