fix weight (#468)

This commit is contained in:
mihaisc 2022-06-24 05:42:51 -07:00 committed by GitHub
parent 603a25f26a
commit 09e79380c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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