Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit a7aeb97

Browse files
committed
rename split_instruction variable name to spli_account_creation_and_proof_verification
1 parent 8c85c6d commit a7aeb97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

token/client/src/token.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2359,7 +2359,7 @@ where
23592359
context_state_account: &Pubkey,
23602360
context_state_authority: &Pubkey,
23612361
proof_data: &ZK,
2362-
split_instruction: bool,
2362+
split_account_creation_and_proof_verification: bool,
23632363
signer: &S,
23642364
) -> TokenResult<T::Output> {
23652365
let instruction_type = zk_proof_type_to_instruction(ZK::PROOF_TYPE)?;
@@ -2377,7 +2377,7 @@ where
23772377

23782378
// Some proof instructions are right at the transaction size limit, but in the
23792379
// future it might be able to support the transfer too
2380-
if split_instruction {
2380+
if split_account_creation_and_proof_verification {
23812381
self.process_ixs(
23822382
&[system_instruction::create_account(
23832383
&self.payer.pubkey(),

0 commit comments

Comments
 (0)