mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
Checking if dataToken.publishMarketFeeToken exists
This commit is contained in:
parent
71be6ce9ff
commit
4eeefbf707
@ -264,7 +264,7 @@ export function handlePublishMarketFeeChanged(
|
||||
true
|
||||
)
|
||||
let feeDecimals = BigInt.fromI32(18).toI32()
|
||||
if (dataToken) {
|
||||
if (dataToken.publishMarketFeeToken) {
|
||||
const feeToken = getToken(
|
||||
Address.fromString(dataToken.publishMarketFeeToken!),
|
||||
false
|
||||
|
Loading…
Reference in New Issue
Block a user