Skip to content

Commit

Permalink
Merge pull request #435 from curvefi/fix/fixed-nativeToken-lite
Browse files Browse the repository at this point in the history
fix: fixed nativeToken for lite chains
  • Loading branch information
fedorovdg authored Dec 24, 2024
2 parents 4790c3b + 29fd498 commit aa7985a
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.65.22",
"version": "2.65.23",
"description": "JavaScript library for curve.fi",
"main": "lib/index.js",
"author": "Macket",
Expand Down
2 changes: 1 addition & 1 deletion src/external-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export const _getLiteNetworksData = memoize(
wrappedAddress: wrapped_native_token,
},
API_CONSTANTS: {
nativeTokenName: config.native_currency_coingecko_id,
nativeTokenName: config.native_currency_coingecko_id || config.platform_coingecko_id,
wrappedNativeTokenAddress: config.wrapped_native_token,
},
};
Expand Down

0 comments on commit aa7985a

Please sign in to comment.