Skip to content

Commit

Permalink
Merge pull request #250 from balancer/fix/default-decimals
Browse files Browse the repository at this point in the history
default decimals
  • Loading branch information
gmbronco authored Dec 7, 2023
2 parents e551f22 + 901cabd commit ae0a2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/pools/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function convertPoolToSubgraphPoolBase(pool: Pool): SubgraphPoolBase {
const tokens = pool.tokens.map(poolToken => {
return {
...poolToken,
decimals: poolToken.decimals || 18,
decimals: poolToken.decimals ?? 18,
priceRate: poolToken.priceRate || null,
weight: poolToken.weight || null,
};
Expand Down

0 comments on commit ae0a2c0

Please sign in to comment.