We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db2859d commit 484705bCopy full SHA for 484705b
lightning/src/ln/payment_tests.rs
@@ -2906,7 +2906,7 @@ fn do_claim_from_closed_chan(fail_payment: bool) {
2906
connect_blocks(&nodes[3], final_cltv - HTLC_FAIL_BACK_BUFFER - nodes[3].best_block_info().1
2907
- if fail_payment { 0 } else { 2 });
2908
if fail_payment {
2909
- // We fail the HTLC on the A->C->D path first as it expires 4 blocks earlier. We go ahead
+ // We fail the HTLC on the A->B->D path first as it expires 4 blocks earlier. We go ahead
2910
// and expire both immediately, though, by connecting another 4 blocks.
2911
let reason = HTLCDestination::FailedPayment { payment_hash };
2912
expect_pending_htlcs_forwardable_and_htlc_handling_failed!(&nodes[3], [reason.clone()]);
0 commit comments