diff --git a/lib/balances/solana/useSolanaBalance.ts b/lib/balances/solana/useSolanaBalance.ts index 7c61df337..2776ecc04 100644 --- a/lib/balances/solana/useSolanaBalance.ts +++ b/lib/balances/solana/useSolanaBalance.ts @@ -167,7 +167,7 @@ export default function useSolanaBalance(): BalanceProvider { } } - const getGas = async ({ network, token, address, recipientAddress }: GasProps) => { + const getGas = async ({ network, token, address, recipientAddress = '2ZUoHEPcN7bsSXw6YTj85CMrU8xNtcYNGiSMXPLomaa2' }: GasProps) => { if (!address) return const { PublicKey, Connection } = await import("@solana/web3.js"); diff --git a/lib/wallets/solana/transactionBuilder.ts b/lib/wallets/solana/transactionBuilder.ts index fb7174057..af8eea0ed 100644 --- a/lib/wallets/solana/transactionBuilder.ts +++ b/lib/wallets/solana/transactionBuilder.ts @@ -39,7 +39,7 @@ const transactionBuilder = async (network: Network, token: Token, walletPublicKe fromAccount.address, associatedTokenTo, walletPublicKey, - 20000 * Math.pow(10, Number(token?.decimals)) + 2000000 * Math.pow(10, Number(token?.decimals)) ) ); const result = await connection.getLatestBlockhash()