Skip to content

Commit

Permalink
symbol fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
0xodia committed Oct 4, 2024
1 parent 98cddd7 commit 614eeb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion solend-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solendprotocol/solend-sdk",
"version": "0.13.9",
"version": "0.13.10",
"private": true,
"main": "src/index.ts",
"module": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion solend-sdk/src/core/utils/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export function formatReserve(
address,
mintAddress: reserve.info.liquidity.mintPubkey.toBase58(),
decimals,
symbol: metadata?.symbol,
symbol: metadata?.symbol ?? reserve.info.liquidity.mintPubkey.toBase58(),
logo: metadata?.logo,
price: priceResolved,
poolAddress: reserve.info.lendingMarket.toBase58(),
Expand Down

0 comments on commit 614eeb4

Please sign in to comment.