From: Matt Corallo Date: Sat, 5 Jan 2019 21:18:09 +0000 (-0500) Subject: Fix stale comment in functional_tests after failing back async X-Git-Tag: v0.0.12~248^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e662fa14af7c978f2f6a7daf8ae7960d07621e7b;p=rust-lightning Fix stale comment in functional_tests after failing back async --- 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);