Skip to content

Commit

Permalink
nit: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruv-chauhan committed Jan 1, 2025
1 parent 4c42d02 commit 4700d84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subgraphs/bracket-escrow-staking/src/mappings/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 4700d84

Please sign in to comment.