File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1032,13 +1032,13 @@ impl<'a> DirectedChannelInfo<'a> {
1032
1032
///
1033
1033
/// Refers to the `node_id` forwarding the payment to the next hop.
1034
1034
#[ inline]
1035
- pub ( super ) fn source ( & self ) -> & ' a NodeId { if self . from_node_one { & self . channel . node_one } else { & self . channel . node_two } }
1035
+ pub fn source ( & self ) -> & ' a NodeId { if self . from_node_one { & self . channel . node_one } else { & self . channel . node_two } }
1036
1036
1037
1037
/// Returns the `node_id` of the target hop.
1038
1038
///
1039
1039
/// Refers to the `node_id` receiving the payment from the previous hop.
1040
1040
#[ inline]
1041
- pub ( super ) fn target ( & self ) -> & ' a NodeId { if self . from_node_one { & self . channel . node_two } else { & self . channel . node_one } }
1041
+ pub fn target ( & self ) -> & ' a NodeId { if self . from_node_one { & self . channel . node_two } else { & self . channel . node_one } }
1042
1042
}
1043
1043
1044
1044
impl < ' a > fmt:: Debug for DirectedChannelInfo < ' a > {
You can’t perform that action at this time.
0 commit comments