Skip to content

Commit 5d9c602

Browse files
committed
f correct comment
1 parent 396ff64 commit 5d9c602

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/ln/chanmon_update_fail_tests.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -3447,10 +3447,10 @@ fn do_test_reload_mon_update_completion_actions(close_during_reload: bool) {
34473447
let chan_id_bc = create_announced_chan_between_nodes(&nodes, 1, 2).2;
34483448

34493449
// Route a payment from A, through B, to C, then claim it on C. Once we pass B the
3450-
// `update_fulfill_htlc` we have a monitor update for both of B's channels. We complete the
3451-
// commitment signed dance on the B<->C channel but leave the A<->B monitor update pending,
3452-
// then reload B. At that point, the final monitor update on the B<->C channel is still pending
3453-
// because it can't fly until the preimage is persisted on the A<->B monitor.
3450+
// `update_fulfill_htlc`+`commitment_signed` we have a monitor update for both of B's channels.
3451+
// We complete the commitment signed dance on the B<->C channel but leave the A<->B monitor
3452+
// update pending, then reload B. At that point, the final monitor update on the B<->C channel
3453+
// is still pending because it can't fly until the preimage is persisted on the A<->B monitor.
34543454
let (payment_preimage, payment_hash, ..) = route_payment(&nodes[0], &[&nodes[1], &nodes[2]], 1_000_000);
34553455

34563456
nodes[2].node.claim_funds(payment_preimage);

0 commit comments

Comments
 (0)