Skip to content

Commit beb94cf

Browse files
committed
f clarify comment
1 parent b815250 commit beb94cf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lightning/src/ln/payment_tests.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -1310,12 +1310,13 @@ fn claimed_send_payment_idempotent() {
13101310
expect_payment_sent!(&nodes[0], first_payment_preimage, Some(0));
13111311
check_send_rejected!();
13121312

1313-
// However, after some time has passed (at least more than one timer tick), a duplicate payment
1314-
// should go through, as ChannelManager should no longer have any remaining references to the
1315-
// old payment data.
1313+
// If relatively little time has passed, a duplicate payment should still fail.
13161314
nodes[0].node.timer_tick_occurred();
13171315
check_send_rejected!();
13181316

1317+
// However, after some time has passed (at least more than one timer tick), a duplicate payment
1318+
// should go through, as ChannelManager should no longer have any remaining references to the
1319+
// old payment data.
13191320
for _ in 0..10 {
13201321
nodes[0].node.timer_tick_occurred();
13211322
}

0 commit comments

Comments
 (0)