Skip to content

Commit 484705b

Browse files
committed
f fix comment
1 parent db2859d commit 484705b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/payment_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2906,7 +2906,7 @@ fn do_claim_from_closed_chan(fail_payment: bool) {
29062906
connect_blocks(&nodes[3], final_cltv - HTLC_FAIL_BACK_BUFFER - nodes[3].best_block_info().1
29072907
- if fail_payment { 0 } else { 2 });
29082908
if fail_payment {
2909-
// We fail the HTLC on the A->C->D path first as it expires 4 blocks earlier. We go ahead
2909+
// We fail the HTLC on the A->B->D path first as it expires 4 blocks earlier. We go ahead
29102910
// and expire both immediately, though, by connecting another 4 blocks.
29112911
let reason = HTLCDestination::FailedPayment { payment_hash };
29122912
expect_pending_htlcs_forwardable_and_htlc_handling_failed!(&nodes[3], [reason.clone()]);

0 commit comments

Comments
 (0)