Skip to content

Commit

Permalink
Merge pull request elizaOS#2150 from ChainRex/fix-plugin-sui
Browse files Browse the repository at this point in the history
fix: correct SUI/USD price calculation
  • Loading branch information
monilpat authored Jan 11, 2025
2 parents ea154a0 + 1214ceb commit 94daffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-sui/src/providers/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export class WalletProvider {
}
);
const prices: Prices = {
sui: { usd: suiPriceData.pair.priceUsd },
sui: { usd: (1 / suiPriceData.pair.priceNative).toString() },
};
this.setCachedData(cacheKey, prices);
return prices;
Expand Down

0 comments on commit 94daffc

Please sign in to comment.