mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
Removing hardcoded 18 decimals
This commit is contained in:
parent
e30047c430
commit
069b6bdf05
@ -138,7 +138,7 @@ export function handlePublishMarketFeeChanged(
|
||||
token.publishMarketFeeAddress =
|
||||
event.params.PublishMarketFeeAddress.toHexString()
|
||||
token.publishMarketFeeToken = event.params.PublishMarketFeeToken.toHexString()
|
||||
let decimals = BigInt.fromI32(18).toI32()
|
||||
let decimals = BigInt.fromI32(token.decimals).toI32()
|
||||
if (
|
||||
token.publishMarketFeeToken != '0x0000000000000000000000000000000000000000'
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user