From d1e747b62b6df92ef131775da4fe1eb4e44550dd Mon Sep 17 00:00:00 2001 From: HusseinAdeiza Date: Sat, 23 May 2026 13:52:54 +0100 Subject: [PATCH] fix: correct spelling in comments and scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix 'cant not' → 'cannot' - Fix 'cant' → 'can't' ⚠️ Note: Comment-only changes. No functional code modified. --- programs/svm-spoke/src/lib.rs | 2 +- scripts/svm/executeRebalanceToHubPool.ts | 2 +- scripts/svm/simpleFakeRelayerRepayment.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/svm-spoke/src/lib.rs b/programs/svm-spoke/src/lib.rs index e4524fefb..2d4412baf 100644 --- a/programs/svm-spoke/src/lib.rs +++ b/programs/svm-spoke/src/lib.rs @@ -613,7 +613,7 @@ pub mod svm_spoke { /// Initializes a claim account for a relayer refund. /// /// This function sets up a claim account for a relayer to claim their refund at a later time and should only be - /// used in the un-happy path where a bundle cant not be executed due to a recipient in the bundle having a blocked + /// used in the un-happy path where a bundle cannot be executed due to a recipient in the bundle having a blocked /// or uninitialized claim ATA. The refund address becomes the "owner" of the claim_account. /// /// ### Required Accounts: diff --git a/scripts/svm/executeRebalanceToHubPool.ts b/scripts/svm/executeRebalanceToHubPool.ts index 2c6b38060..9dcbc1811 100644 --- a/scripts/svm/executeRebalanceToHubPool.ts +++ b/scripts/svm/executeRebalanceToHubPool.ts @@ -464,7 +464,7 @@ async function executeRelayerRefundLeaf( .accounts({ signer: signer.publicKey, instructionParams: instructionParams }) .rpc(); console.log(`Close instruction params transaction sent: ${closeInstructionParamsTx}`); - // Note we cant close the lookup table account as it needs to be both deactivated and expired at to do this. + // Note we can't close the lookup table account as it needs to be both deactivated and expired at to do this. } // Run the executeRebalanceToHubPool function diff --git a/scripts/svm/simpleFakeRelayerRepayment.ts b/scripts/svm/simpleFakeRelayerRepayment.ts index 7754aad4b..13098f11f 100644 --- a/scripts/svm/simpleFakeRelayerRepayment.ts +++ b/scripts/svm/simpleFakeRelayerRepayment.ts @@ -318,7 +318,7 @@ async function testBundleLogic(): Promise { .accounts({ signer: signer.publicKey, instructionParams: instructionParams }) .rpc(); console.log(`Close instruction params transaction sent: ${closeInstructionParamsTx}`); - // Note we cant close the lookup table account as it needs to be both deactivated and expired at to do this. + // Note we can't close the lookup table account as it needs to be both deactivated and expired at to do this. // Check that the relayers got back the amount you were expecting const relayerBalances = [];