Skip to content

Commit

Permalink
fix(deployment): adds usdc option to parse pricing amount
Browse files Browse the repository at this point in the history
refs #714
  • Loading branch information
ygrishajev authored Feb 6, 2025
1 parent 64202f7 commit 0f38c18
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const PricingProvider = ({ children }) => {

if (denom === UAKT_DENOM) {
value = uaktToAKT(parsedAmount, 6) * (marketData?.price || 0);
} else if (denom === usdcIbcDenom) {
} else if (denom === usdcIbcDenom || denom === "usdc") {
value = udenomToDenom(parsedAmount, 6);
}

Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0f38c18

Please sign in to comment.