Skip to content

Commit

Permalink
chore: Fix build issue from bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Dec 9, 2024
1 parent cc8bd80 commit 85c0676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-project/pxe/src/synchronizer/synchronizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class Synchronizer implements L2BlockStreamEventHandler {
}
if (!currentHeader) {
// REFACTOR: We should know the header of the genesis block without having to request it from the node.
const storedBlockNumber = this.db.getBlockNumber();
const storedBlockNumber = await this.db.getBlockNumber();
await this.db.setHeader(await this.node.getBlockHeader(storedBlockNumber ?? 0));
}

Expand Down

0 comments on commit 85c0676

Please sign in to comment.