Skip to content

Commit 09e7938

Browse files
authored
fix weight (#468)
1 parent 603a25f commit 09e7938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mappings/pool.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export function handleSetup(event: LOG_SETUP): void {
202202
pool.baseToken = token.id
203203
pool.baseTokenWeight = weiToDecimal(
204204
event.params.baseTokenWeight.toBigDecimal(),
205-
token.decimals
205+
18
206206
)
207207

208208
// decimals hardcoded because datatokens have 18 decimals

0 commit comments

Comments
 (0)