mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
fix another error.
This commit is contained in:
parent
c71b4f043c
commit
0b04b26efb
@ -233,7 +233,7 @@ export function handleJoinPool(event: LOG_JOIN): void {
|
||||
return
|
||||
}
|
||||
|
||||
const datatoken: Datatoken =
|
||||
const datatoken: Datatoken | null =
|
||||
poolToken.tokenId != null ? Datatoken.load(poolToken.tokenId) : null
|
||||
const decimals =
|
||||
datatoken == null ? BigInt.fromI32(18).toI32() : datatoken.decimals
|
||||
|
Loading…
Reference in New Issue
Block a user