File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lightning/src/blinded_path Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -185,15 +185,15 @@ impl_writeable!(BlindedHop, {
185
185
186
186
impl Direction {
187
187
/// Returns the [`NodeId`] from the inputs corresponding to the direction.
188
- pub fn select_node_id ( & self , node_a : NodeId , node_b : NodeId ) -> NodeId {
188
+ pub ( crate ) fn select_node_id ( & self , node_a : NodeId , node_b : NodeId ) -> NodeId {
189
189
match self {
190
190
Direction :: NodeOne => core:: cmp:: min ( node_a, node_b) ,
191
191
Direction :: NodeTwo => core:: cmp:: max ( node_a, node_b) ,
192
192
}
193
193
}
194
194
195
195
/// Returns the [`PublicKey`] from the inputs corresponding to the direction.
196
- pub fn select_pubkey < ' a > ( & self , node_a : & ' a PublicKey , node_b : & ' a PublicKey ) -> & ' a PublicKey {
196
+ pub ( crate ) fn select_pubkey < ' a > ( & self , node_a : & ' a PublicKey , node_b : & ' a PublicKey ) -> & ' a PublicKey {
197
197
let ( node_one, node_two) = if NodeId :: from_pubkey ( node_a) < NodeId :: from_pubkey ( node_b) {
198
198
( node_a, node_b)
199
199
} else {
You can’t perform that action at this time.
0 commit comments