From e414dcd1dfa4e340ae407686ccffd0542c603b7f Mon Sep 17 00:00:00 2001 From: Jamie Hewitt Date: Thu, 4 May 2023 11:42:35 +0100 Subject: [PATCH] Lint:fix --- src/mappings/fixedRateExchange.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mappings/fixedRateExchange.ts b/src/mappings/fixedRateExchange.ts index 733481c..1f0cf77 100644 --- a/src/mappings/fixedRateExchange.ts +++ b/src/mappings/fixedRateExchange.ts @@ -73,9 +73,6 @@ export function handleRateChange(event: ExchangeRateChanged): void { newExchangeUpdate.block = event.block.number.toI32() newExchangeUpdate.exchangeId = fixedRateId - const fixedRateExchange = getFixedRateExchange(fixedRateId) - const baseToken = getToken(fixedRateExchange.baseToken, false) - fixedRateExchange.price = weiToDecimal( event.params.newRate.toBigDecimal(), BigInt.fromI32(18).toI32()