Skip to content

Commit

Permalink
Merge pull request #248 from curvefi/fix/fixed-usdRate-for-bnb
Browse files Browse the repository at this point in the history
fix: fixed _getUsdRate for bnb
  • Loading branch information
Macket authored Dec 21, 2023
2 parents 973f4a2 + a8a1449 commit 2e9a425
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@curvefi/api",
"version": "2.53.5",
"version": "2.53.6",
"description": "JavaScript library for curve.fi",
"main": "lib/index.js",
"author": "Macket",
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ export const _getUsdRate = async (assetId: string): Promise<number> => {
const nativeTokenName = {
1: 'ethereum',
10: 'ethereum',
56: 'bnb',
56: 'binancecoin',
100: 'xdai',
137: 'matic-network',
250: 'fantom',
Expand Down

0 comments on commit 2e9a425

Please sign in to comment.