Skip to content

Commit

Permalink
[token22] Avoid the use of extend_from_slice when appending instruc…
Browse files Browse the repository at this point in the history
…tions (#7489)

avoid the use of `extend_from_slice` when appending instructions
  • Loading branch information
samkim-crypto authored Nov 13, 2024
1 parent ab998a9 commit 2d795f1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ pub fn rotate_supply_elgamal_pubkey(
},
)];

instructions.extend_from_slice(&proof_instructions);
instructions.extend(proof_instructions);

Ok(instructions)
}
Expand Down Expand Up @@ -461,7 +461,7 @@ pub fn confidential_mint_with_split_proofs(
},
)];

instructions.extend_from_slice(&proof_instructions);
instructions.extend(proof_instructions);

Ok(instructions)
}
Expand Down Expand Up @@ -543,7 +543,7 @@ pub fn confidential_burn_with_split_proofs(
},
)];

instructions.extend_from_slice(&proof_instructions);
instructions.extend(proof_instructions);

Ok(instructions)
}

0 comments on commit 2d795f1

Please sign in to comment.