We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd8b4bf commit 7f886f2Copy full SHA for 7f886f2
1 file changed
rust-sdk/whirlpool/src/token.rs
@@ -97,8 +97,8 @@ pub(crate) async fn prepare_token_accounts_instructions(
97
// the main difference is that create idempotent will consume more CUs if the account already exists.
98
// https://github.com/solana-program/associated-token-account/blob/ecc069c5e9182d55ff1809258a9de4d73943b2ff/interface/src/instruction.rs#L20-L40
99
create_instructions.push(create_associated_token_account_idempotent(
100
- &owner,
101
+ &owner, // funder
+ &owner, // owner
102
&mint_address,
103
&mint_account_infos[i].owner,
104
));
0 commit comments