mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
Lint:fix
This commit is contained in:
parent
17e9c4fa53
commit
e414dcd1df
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user