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 9, 2024
1 parent 89859fd commit eac0f70
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 @@ -2179,6 +2179,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 eac0f70

Please sign in to comment.