diff --git a/js/compressed-token/src/layout.ts b/js/compressed-token/src/layout.ts index eba7faa70e..a65477d111 100644 --- a/js/compressed-token/src/layout.ts +++ b/js/compressed-token/src/layout.ts @@ -531,7 +531,7 @@ export const CompressedTokenInstructionDataRevokeLayout = struct([ u8('outputAccountMerkleTreeIndex'), ]); -// Approve and revoke instuctions do not support optional proof yet. +// Approve and revoke instructions do not support optional proof yet. const emptyProof: ValidityProof = { a: new Array(32).fill(0), b: new Array(64).fill(0), diff --git a/program-tests/system-cpi-v2-test/tests/invoke_cpi_with_read_only.rs b/program-tests/system-cpi-v2-test/tests/invoke_cpi_with_read_only.rs index 1acfd13797..465e15c79e 100644 --- a/program-tests/system-cpi-v2-test/tests/invoke_cpi_with_read_only.rs +++ b/program-tests/system-cpi-v2-test/tests/invoke_cpi_with_read_only.rs @@ -3246,7 +3246,7 @@ pub mod local_sdk { /// If the provided `pubkey` is not a part of the collection, it gets /// inserted with a `next_index`. /// - /// If the privided `pubkey` already exists in the collection, its already + /// If the provided `pubkey` already exists in the collection, its already /// existing index is returned. pub fn insert_or_get(&mut self, pubkey: Pubkey) -> u8 { self.insert_or_get_config(pubkey, false, true) diff --git a/programs/compressed-token/src/delegation.rs b/programs/compressed-token/src/delegation.rs index 99eea8eec4..1dfb32bb0e 100644 --- a/programs/compressed-token/src/delegation.rs +++ b/programs/compressed-token/src/delegation.rs @@ -35,7 +35,7 @@ pub struct CompressedTokenInstructionDataApprove { } /// Processes an approve instruction. -/// - creates an output compressed acount which is delegated to the delegate. +/// - creates an output compressed account which is delegated to the delegate. /// - creates a change account for the remaining amount (sum inputs - delegated amount). /// - ignores prior delegations. /// 1. unpack instruction data and input compressed accounts