Skip to content

Commit

Permalink
adjust rent reimbursement
Browse files Browse the repository at this point in the history
  • Loading branch information
brewmaster012 committed Dec 3, 2024
1 parent 6aaadc0 commit a92a84f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/protocol-contracts-solana/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a92a84f

Please sign in to comment.