Skip to content

Commit

Permalink
Merge pull request #167 from balancer-labs/version-bump
Browse files Browse the repository at this point in the history
version bump
  • Loading branch information
gmbronco authored Oct 6, 2022
2 parents f96d996 + 1f02c34 commit 7a0889e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion balancer-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@balancer-labs/sdk",
"version": "0.1.26",
"version": "0.1.27",
"description": "JavaScript SDK for interacting with the Balancer Protocol V2",
"license": "GPL-3.0-only",
"homepage": "https://github.com/balancer-labs/balancer-sdk/balancer-js#readme",
Expand Down
2 changes: 1 addition & 1 deletion balancer-js/src/modules/data/token-prices/aave-rates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class AaveRates {
const [, res] = await this.multicall.aggregate(payload);

const rates = addresses.reduce((p: { [key: string]: number }, a, i) => {
p[a] ||= parseFloat(formatUnits(res[i], 27));
p[a] ||= res[i] == '0x' ? 0 : parseFloat(formatUnits(res[i], 27));
return p;
}, {});
console.timeEnd('Fetching aave rates');
Expand Down

0 comments on commit 7a0889e

Please sign in to comment.