From 4700d8486d0eca2fe46b05ded7946dca63422586 Mon Sep 17 00:00:00 2001 From: Dhruv Chauhan Date: Wed, 1 Jan 2025 18:51:26 +0530 Subject: [PATCH] nit: fix lint --- subgraphs/bracket-escrow-staking/src/mappings/handlers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subgraphs/bracket-escrow-staking/src/mappings/handlers.ts b/subgraphs/bracket-escrow-staking/src/mappings/handlers.ts index 98e832a9f2..0fca2b23d5 100644 --- a/subgraphs/bracket-escrow-staking/src/mappings/handlers.ts +++ b/subgraphs/bracket-escrow-staking/src/mappings/handlers.ts @@ -121,7 +121,7 @@ export function handleDeposit(event: Deposit): void { event ); - let token = sdk.Tokens.getOrCreateToken(event.params.token); + const token = sdk.Tokens.getOrCreateToken(event.params.token); const pool = sdk.Pools.loadPool(token.id); if (!pool.isInitialized) { pool.initialize(token.name, token.symbol, [token.id], null); @@ -142,7 +142,7 @@ export function handleWithdraw(event: Withdraw): void { event ); - let token = sdk.Tokens.getOrCreateToken(event.params.token); + const token = sdk.Tokens.getOrCreateToken(event.params.token); const pool = sdk.Pools.loadPool(token.id); if (!pool.isInitialized) { pool.initialize(token.name, token.symbol, [token.id], null);