Skip to content

Commit

Permalink
style: resolve style guide violations
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsANameToo authored and github-actions[bot] committed Oct 24, 2024
1 parent 8498ee7 commit d29dab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api-sync/source/restore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ export class Restore {

await this.dataSource.transaction("REPEATABLE READ", async (entityManager) => {
const context: RestoreContext = {
addressToPublicKey: {},
blockRepository: this.blockRepositoryFactory(entityManager),
configurationRepository: this.configurationRepositoryFactory(entityManager),
entityManager,
addressToPublicKey: {},
lastHeight: 0,
mostRecentCommit,
publicKeyToAddress: {},
Expand Down Expand Up @@ -346,8 +346,8 @@ export class Restore {
timestamp: validatorAttributes.lastBlock.timestamp,
}
: {},
validatorPublicKey: validatorAttributes.blsPublicKey,
validatorProducedBlocks: validatorAttributes.producedBlocks,
validatorPublicKey: validatorAttributes.blsPublicKey,
validatorResigned: validatorAttributes.isResigned,
validatorVoteBalance: validatorAttributes.voteBalance,
validatorVotersCount: validatorAttributes.votersCount,
Expand Down

0 comments on commit d29dab4

Please sign in to comment.