mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
fix weight (#468)
This commit is contained in:
parent
603a25f26a
commit
09e79380c3
@ -202,7 +202,7 @@ export function handleSetup(event: LOG_SETUP): void {
|
||||
pool.baseToken = token.id
|
||||
pool.baseTokenWeight = weiToDecimal(
|
||||
event.params.baseTokenWeight.toBigDecimal(),
|
||||
token.decimals
|
||||
18
|
||||
)
|
||||
|
||||
// decimals hardcoded because datatokens have 18 decimals
|
||||
|
Loading…
Reference in New Issue
Block a user