Skip to content

Commit b11a563

Browse files
committed
SDK: Fix the relay fee amount in Solana NTT
1 parent e005302 commit b11a563

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

solana/ts/sdk/ntt.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
AddressLookupTableAccount,
66
Connection,
77
Keypair,
8+
LAMPORTS_PER_SOL,
89
PublicKey,
910
SystemProgram,
1011
Transaction,
@@ -391,7 +392,7 @@ export class SolanaNtt<N extends Network, C extends SolanaChains>
391392
payerAddress,
392393
outboxItem.publicKey,
393394
destination.chain,
394-
Number(fee),
395+
Number(fee) / LAMPORTS_PER_SOL,
395396
// Note: quoter expects gas dropoff to be in terms of gwei
396397
Number(options.gasDropoff ?? 0n) / WEI_PER_GWEI
397398
);

0 commit comments

Comments
 (0)