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 @@ -183,15 +183,15 @@ impl_writeable!(BlindedHop, {
183183
184184impl Direction {
185185 /// Returns the [`NodeId`] from the inputs corresponding to the direction.
186- pub fn select_node_id ( & self , node_a : NodeId , node_b : NodeId ) -> NodeId {
186+ pub ( crate ) fn select_node_id ( & self , node_a : NodeId , node_b : NodeId ) -> NodeId {
187187 match self {
188188 Direction :: NodeOne => core:: cmp:: min ( node_a, node_b) ,
189189 Direction :: NodeTwo => core:: cmp:: max ( node_a, node_b) ,
190190 }
191191 }
192192
193193 /// Returns the [`PublicKey`] from the inputs corresponding to the direction.
194- pub fn select_pubkey < ' a > ( & self , node_a : & ' a PublicKey , node_b : & ' a PublicKey ) -> & ' a PublicKey {
194+ pub ( crate ) fn select_pubkey < ' a > ( & self , node_a : & ' a PublicKey , node_b : & ' a PublicKey ) -> & ' a PublicKey {
195195 let ( node_one, node_two) = if NodeId :: from_pubkey ( node_a) < NodeId :: from_pubkey ( node_b) {
196196 ( node_a, node_b)
197197 } else {
You can’t perform that action at this time.
0 commit comments