Skip to content

Commit

Permalink
Fix unused warning in test macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinewallace committed Jan 25, 2024
1 parent 35f98ee commit 0e8d116
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 @@ -2198,6 +2198,7 @@ pub fn expect_payment_forwarded<CM: AChannelManager, H: NodeHolder<CM=CM>>(
}
}

#[cfg(test)]
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 0e8d116

Please sign in to comment.