Skip to content

Commit e4e5468

Browse files
authored
Merge pull request #289 from lidofinance/develop
Develop to main
2 parents 7ce7bf3 + bc9cb9a commit e4e5468

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/waiting-time/waiting-time.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ export class WaitingTimeService {
341341

342342
if (isInPast) {
343343
this.logger.warn(
344-
`Request with id ${request.id} was calculated with finalisation in past (finalizationIn=${ms}) and going to be recalculated`,
344+
`Request with id ${request.id} was calculated with finalisation in past (finalizationIn=${ms}, type=${currentType}) and going to be recalculated`,
345345
);
346346
// if calculation wrong points to past then validators is not excited in time
347347
// we need recalculate
@@ -354,6 +354,7 @@ export class WaitingTimeService {
354354
});
355355

356356
ms = this.genesisTimeService.timeToWithdrawalFrame(recalculatedResult.frame, requestTimestamp);
357+
finalizationIn = validateTimeResponseWithFallback(ms) + GAP_AFTER_REPORT;
357358
currentType = recalculatedResult.type;
358359
}
359360

0 commit comments

Comments
 (0)