Skip to content

Commit dbb7be0

Browse files
committed
f missing change
1 parent ba56f3c commit dbb7be0

File tree

1 file changed

+1
-1
lines changed
  • lightning/src/blinded_path

1 file changed

+1
-1
lines changed

lightning/src/blinded_path/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ impl_writeable!(BlindedHop, {
306306

307307
impl Direction {
308308
/// Returns the [`NodeId`] from the inputs corresponding to the direction.
309-
pub fn select_node_id<'a>(&self, node_a: &'a NodeId, node_b: &'a NodeId) -> &'a NodeId {
309+
pub fn select_node_id(&self, node_a: NodeId, node_b: NodeId) -> NodeId {
310310
match self {
311311
Direction::NodeOne => core::cmp::min(node_a, node_b),
312312
Direction::NodeTwo => core::cmp::max(node_a, node_b),

0 commit comments

Comments
 (0)