Skip to content

Commit

Permalink
Merge branch 'master' into arv/note_hash_siloing
Browse files Browse the repository at this point in the history
  • Loading branch information
sirasistant authored Dec 9, 2024
2 parents 68c58de + 85c0676 commit 3fd40b4
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 3fd40b4

Please sign in to comment.