Skip to content

Commit

Permalink
f - test fixups 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorTigerstrom committed Jul 8, 2022
1 parent 81fc01f commit 93497bf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lightning/src/ln/channelmanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7233,7 +7233,7 @@ mod tests {
use ln::msgs::ChannelMessageHandler;
use routing::router::{PaymentParameters, RouteParameters, find_route};
use util::errors::APIError;
use util::events::{Event, MessageSendEvent, MessageSendEventsProvider};
use util::events::{Event, MessageSendEvent, MessageSendEventsProvider, ClosureReason};
use util::test_utils;
use chain::keysinterface::KeysInterface;

Expand Down Expand Up @@ -7832,9 +7832,8 @@ mod tests {
}
let (_nodes_1_update, _none) = get_closing_signed_broadcast!(nodes[1].node, nodes[0].node.get_our_node_id());

// Clear the `ChannelClosed` event for the nodes.
get_event!(&nodes[0], Event::ChannelClosed);
get_event!(&nodes[1], Event::ChannelClosed);
check_closed_event!(nodes[0], 1, ClosureReason::CooperativeClosure);
check_closed_event!(nodes[1], 1, ClosureReason::CooperativeClosure);
}
}

Expand Down

0 comments on commit 93497bf

Please sign in to comment.