Skip to content

Commit d3196fb

Browse files
remove pub from fail_payment_along_path and pass_probe_along_path
1 parent cadd5bf commit d3196fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/functional_test_utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2251,7 +2251,7 @@ pub fn send_along_route_with_secret<'a, 'b, 'c>(origin_node: &Node<'a, 'b, 'c>,
22512251
payment_id
22522252
}
22532253

2254-
pub fn fail_payment_along_path<'a, 'b, 'c>(expected_path: &[&Node<'a, 'b, 'c>]) {
2254+
fn fail_payment_along_path<'a, 'b, 'c>(expected_path: &[&Node<'a, 'b, 'c>]) {
22552255
let origin_node_id = expected_path[0].node.get_our_node_id();
22562256

22572257
// iterate from the receiving node to the origin node and handle update fail htlc.
@@ -2284,7 +2284,7 @@ pub fn pass_probe_along_route<'a, 'b, 'c>(origin_node: &Node<'a, 'b, 'c>, expect
22842284
}
22852285

22862286

2287-
pub fn pass_probe_along_path<'a, 'b, 'c>(origin_node: &Node<'a, 'b, 'c>, expected_path: &[&Node<'a, 'b, 'c>], ev: MessageSendEvent) {
2287+
fn pass_probe_along_path<'a, 'b, 'c>(origin_node: &Node<'a, 'b, 'c>, expected_path: &[&Node<'a, 'b, 'c>], ev: MessageSendEvent) {
22882288
let mut payment_event = SendEvent::from_event(ev);
22892289
let mut prev_node = origin_node;
22902290

0 commit comments

Comments
 (0)