File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ export class WaitingTimeService {
334
334
let currentType = type ;
335
335
let ms = this . genesisTimeService . timeToWithdrawalFrame ( frame , requestTimestamp ) ;
336
336
let finalizationIn = validateTimeResponseWithFallback ( ms ) + GAP_AFTER_REPORT ;
337
- const isInPast = requestTimestamp + ms - Date . now ( ) < 0 ;
337
+ const isInPast = requestTimestamp + finalizationIn - Date . now ( ) < 0 ;
338
338
339
339
if ( isInPast ) {
340
340
this . logger . warn (
@@ -355,7 +355,7 @@ export class WaitingTimeService {
355
355
currentType = recalculatedResult . type ;
356
356
}
357
357
358
- const isInPastFallback = requestTimestamp + ms - Date . now ( ) < 0 ;
358
+ const isInPastFallback = requestTimestamp + finalizationIn - Date . now ( ) < 0 ;
359
359
// temporary fallback for negative results, can be deleted after validator balances computation improvements
360
360
if ( isInPastFallback ) {
361
361
this . logger . warn (
You can’t perform that action at this time.
0 commit comments