Skip to content

Commit

Permalink
add reserve type
Browse files Browse the repository at this point in the history
  • Loading branch information
0xodia committed Jan 21, 2024
1 parent 6a9f001 commit 60d4abb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions solend-sdk/src/core/utils/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ export function formatReserve(
price?.emaPrice && price?.spotPrice
? BigNumber.max(price.emaPrice, price.spotPrice)
: new BigNumber(price?.spotPrice ?? priceResolved),
reserveType: reserve.info.config.reserveType,
};
}

Expand Down

0 comments on commit 60d4abb

Please sign in to comment.