From a92a84f4acbc18420a3d238623aa9e51f75ce4f4 Mon Sep 17 00:00:00 2001 From: brewmaster012 <88689859+brewmaster012@users.noreply.github.com> Date: Tue, 3 Dec 2024 11:06:19 -0600 Subject: [PATCH] adjust rent reimbursement --- programs/protocol-contracts-solana/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/protocol-contracts-solana/src/lib.rs b/programs/protocol-contracts-solana/src/lib.rs index c45c0da..be24f3e 100644 --- a/programs/protocol-contracts-solana/src/lib.rs +++ b/programs/protocol-contracts-solana/src/lib.rs @@ -387,7 +387,7 @@ pub mod gateway { ); let cost_gas = 5000; // default gas cost in lamports - let cost_ata_create = &mut 2039280; // default SPL ATA account creation rent fee in lamports + let cost_ata_create = &mut 0; // will be updated if ATA creation is needed // test whether the recipient_ata is created or not; if not, create it let recipient_ata_account = ctx.accounts.recipient_ata.to_account_info();