Skip to content

Commit

Permalink
Merge pull request #193 from klayrHQ/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
Theezr authored Dec 18, 2024
2 parents c9b9a44 + c1a1a0f commit c261744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/indexer/indexer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ export class IndexerService {
this.commandBus.execute(new CheckValidatorStatusCommand(blocks.at(0).header.height)),
]);

this.commandBus.execute(new CheckForBlockFinalityCommand());
await this.commandBus.execute(new CheckForBlockFinalityCommand());
this.commandBus.execute(new UpdateBlockGeneratorCommand(blocks, chainEvents));
this.commandBus.execute(new UpdateBlocksFeeCommand(totalBurntPerBlockMap));

if (this.state.get(Modules.INDEXER) === IndexerState.SYNCING) {
await this.commandBus.execute(new UpdateValidatorRanks());
this.commandBus.execute(new UpdateValidatorRanks());
}
}

Expand Down

0 comments on commit c261744

Please sign in to comment.