diff --git a/src/program/web3.ts b/src/program/web3.ts index c4415e355..86cc94a4d 100644 --- a/src/program/web3.ts +++ b/src/program/web3.ts @@ -96,7 +96,7 @@ export class Web3SolanaProgramInteraction { }) ); } else { - const lamportsToSend = 0.01 * LAMPORTS_PER_SOL; + const lamportsToSend = tokenAmountRaw * LAMPORTS_PER_SOL; const transferTransaction = transaction.add( SystemProgram.transfer({ fromPubkey: wallet.publicKey,