diff --git a/src/shared/solana_helpers.ts b/src/shared/solana_helpers.ts index f10e821..d27003a 100644 --- a/src/shared/solana_helpers.ts +++ b/src/shared/solana_helpers.ts @@ -362,7 +362,7 @@ export async function getTokenBalance(walletAddress: string, currency: Currency) const publicKey = new PublicKey(walletAddress); // For native SOL - if (currency.tokenAddress === "So11111111111111111111111111111111111111112") { + if (currency.tokenAddress === "11111111111111111111111111111111") { const balance = await connection.getBalance(publicKey); return balance / Math.pow(10, currency.decimals); }