File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1310,12 +1310,13 @@ fn claimed_send_payment_idempotent() {
1310
1310
expect_payment_sent ! ( & nodes[ 0 ] , first_payment_preimage, Some ( 0 ) ) ;
1311
1311
check_send_rejected ! ( ) ;
1312
1312
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.
1316
1314
nodes[ 0 ] . node . timer_tick_occurred ( ) ;
1317
1315
check_send_rejected ! ( ) ;
1318
1316
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.
1319
1320
for _ in 0 ..10 {
1320
1321
nodes[ 0 ] . node . timer_tick_occurred ( ) ;
1321
1322
}
You can’t perform that action at this time.
0 commit comments