From 858c00fd8006557182d84f3824c17d6d22c5dbf5 Mon Sep 17 00:00:00 2001 From: Anxo Rodriguez Date: Thu, 20 Jun 2024 10:37:21 +0200 Subject: [PATCH] fix: delete unused assignment --- src/services/chain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/chain.ts b/src/services/chain.ts index 6d27570..ef5fa29 100644 --- a/src/services/chain.ts +++ b/src/services/chain.ts @@ -244,7 +244,7 @@ export class ChainContext { // Process blocks in order for (const blockNumberKey of Object.keys(eventsByBlock).sort()) { const blockNumber = Number(blockNumberKey); - lastProcessedBlock = await processBlockAndPersist({ + await processBlockAndPersist({ context: this, blockNumber, events: eventsByBlock[blockNumber],