Skip to content

Commit e662fa1

Browse files
committed
Fix stale comment in functional_tests after failing back async
1 parent 913d56e commit e662fa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ln/functional_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3050,8 +3050,8 @@ fn do_test_commitment_revoked_fail_backward_exhaustive(deliver_bs_raa: bool, use
30503050

30513051
if deliver_bs_raa {
30523052
nodes[1].node.handle_revoke_and_ack(&nodes[2].node.get_our_node_id(), &bs_raa).unwrap();
3053-
// One monitor for the new revocation preimage, one as we generate a commitment for
3054-
// nodes[0] to fail first_payment_hash backwards.
3053+
// One monitor for the new revocation preimage, no second on as we won't generate a new
3054+
// commitment transaction for nodes[0] until process_pending_htlc_forwards().
30553055
check_added_monitors!(nodes[1], 1);
30563056
let events = nodes[1].node.get_and_clear_pending_events();
30573057
assert_eq!(events.len(), 1);

0 commit comments

Comments
 (0)