From 85c0676647d9f8f7b2bceaf5f2da011b794abf68 Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Mon, 9 Dec 2024 10:58:40 -0300 Subject: [PATCH] chore: Fix build issue from bad merge --- yarn-project/pxe/src/synchronizer/synchronizer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/pxe/src/synchronizer/synchronizer.ts b/yarn-project/pxe/src/synchronizer/synchronizer.ts index ee8c22a06d2..6948f902ba1 100644 --- a/yarn-project/pxe/src/synchronizer/synchronizer.ts +++ b/yarn-project/pxe/src/synchronizer/synchronizer.ts @@ -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)); }