Skip to content

Commit 6fdff83

Browse files
committed
Drop unnecessary get_and_clear_pending_events from tests
1 parent 2be28b1 commit 6fdff83

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17261,7 +17261,6 @@ mod tests {
1726117261
let events = nodes[1].node.get_and_clear_pending_events();
1726217262
let fail = HTLCHandlingFailureType::Receive { payment_hash };
1726317263
expect_htlc_failure_conditions(events, &[fail]);
17264-
nodes[1].node.get_and_clear_pending_events();
1726517264
check_added_monitors!(nodes[1], 1);
1726617265
let updates = get_htlc_update_msgs!(nodes[1], nodes[0].node.get_our_node_id());
1726717266
assert!(updates.update_add_htlcs.is_empty());

0 commit comments

Comments
 (0)