From 22e0c366bbe1df33df6d97ae4fffe6c5d50cf0d5 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Van Date: Fri, 17 Jan 2025 11:31:55 +0700 Subject: [PATCH] update bridge sol --- src/program/web3.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,