Get an immutable reference to the custom state of a node. If the node does not exist in the graph, then `None` will be returned.
(&self, id: NodeID)
| 1014 | /// If the node does not exist in the graph, then `None` will be returned. |
| 1015 | pub fn node_channel_config(&self, id: NodeID) -> Option<ChannelConfig> { |
| 1016 | self.graph.node_info(id).map(|n| n.info.channel_config) |
| 1017 | } |
| 1018 | |
| 1019 | /// Get an immutable reference to the custom state of a node. |
| 1020 | /// |
| 1021 | /// If the node does not exist in the graph, then `None` will be returned. |
nothing calls this directly
no outgoing calls
no test coverage detected