File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 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() {
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 }
You can’t perform that action at this time.
0 commit comments