Skip to content

Commit

Permalink
f Export expect_payment_forwarded macro to mitigate unused warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Jan 30, 2024
1 parent 286282e commit 3a0c65a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lightning/src/ln/functional_test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2229,6 +2229,7 @@ pub fn expect_payment_forwarded<CM: AChannelManager, H: NodeHolder<CM=CM>>(
}
}

#[macro_export]
macro_rules! expect_payment_forwarded {
($node: expr, $prev_node: expr, $next_node: expr, $expected_fee: expr, $upstream_force_closed: expr, $downstream_force_closed: expr) => {
let mut events = $node.node.get_and_clear_pending_events();
Expand Down

0 comments on commit 3a0c65a

Please sign in to comment.