From e662fa14af7c978f2f6a7daf8ae7960d07621e7b Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 5 Jan 2019 16:18:09 -0500 Subject: [PATCH] Fix stale comment in functional_tests after failing back async --- src/ln/functional_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ln/functional_tests.rs b/src/ln/functional_tests.rs index 9677b28e5..4baaf64d8 100644 --- a/src/ln/functional_tests.rs +++ b/src/ln/functional_tests.rs @@ -3050,8 +3050,8 @@ fn do_test_commitment_revoked_fail_backward_exhaustive(deliver_bs_raa: bool, use if deliver_bs_raa { nodes[1].node.handle_revoke_and_ack(&nodes[2].node.get_our_node_id(), &bs_raa).unwrap(); - // One monitor for the new revocation preimage, one as we generate a commitment for - // nodes[0] to fail first_payment_hash backwards. + // One monitor for the new revocation preimage, no second on as we won't generate a new + // commitment transaction for nodes[0] until process_pending_htlc_forwards(). check_added_monitors!(nodes[1], 1); let events = nodes[1].node.get_and_clear_pending_events(); assert_eq!(events.len(), 1); -- 2.39.5