Skip to content

Commit 94daffc

Browse files
authored
Merge pull request #2150 from ChainRex/fix-plugin-sui
fix: correct SUI/USD price calculation
2 parents ea154a0 + 1214ceb commit 94daffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugin-sui/src/providers/wallet.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export class WalletProvider {
181181
}
182182
);
183183
const prices: Prices = {
184-
sui: { usd: suiPriceData.pair.priceUsd },
184+
sui: { usd: (1 / suiPriceData.pair.priceNative).toString() },
185185
};
186186
this.setCachedData(cacheKey, prices);
187187
return prices;

0 commit comments

Comments
 (0)