Skip to content

Commit

Permalink
chore: fix some comments (#7054)
Browse files Browse the repository at this point in the history
Signed-off-by: riyueguang <[email protected]>
  • Loading branch information
riyueguang committed Jul 26, 2024
1 parent 26c7929 commit 591eeed
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/src/token.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1874,7 +1874,7 @@ Unlocking works by pushing a permissionless crank on the contract that moves the
- Audit: The audit was conducted by Kudelski, the report can be found [here](https://github.com/Bonfida/token-vesting/blob/master/audit/Bonfida_SecurityAssessment_Vesting_Final050521.pdf)

#### 2) Streamflow Timelock
Enables creation, withdrawal, cancelation and transfer of token vesting contracts using time-based lock and escrow accounts.
Enables creation, withdrawal, cancellation and transfer of token vesting contracts using time-based lock and escrow accounts.
Contracts are by default cancelable by the creator and transferable by the recipient.

Vesting contract creator chooses various options upon creation, such as:
Expand Down
2 changes: 1 addition & 1 deletion docs/src/transfer-hook-interface/specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The next two instructions of the interface deal with these configurations.

### (Optional) Instruction: `InitializeExtraAccountMetaList`

This instruction does exactly what the name implies: it intializes the
This instruction does exactly what the name implies: it initializes the
validation account to store a list of extra required
[`AccountMeta`](https://docs.rs/solana-program/latest/solana_program/instruction/struct.AccountMeta.html)
configurations for the `Execute` instruction.
Expand Down
2 changes: 1 addition & 1 deletion single-pool/js/packages/modern/src/quarantine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from '@solana/web3.js';

// HERE BE DRAGONS
// this is all the stuff that shouldnt be in our library once we can import from elsewhere
// this is all the stuff that shouldn't be in our library once we can import from elsewhere

export const SYSTEM_PROGRAM_ID = address('11111111111111111111111111111111');
export const STAKE_PROGRAM_ID = address('Stake11111111111111111111111111111111111111');
Expand Down
2 changes: 1 addition & 1 deletion single-pool/program/tests/helpers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ where
};

// this silly thing is because we can guarantee From<T> has a Debug for T
// but TryFrom<T> produces Result<T, E> and E may not have Debug. so we cant
// but TryFrom<T> produces Result<T, E> and E may not have Debug. so we can't
// call unwrap also we use TryFrom because we have to go `instruction
// error-> program error` because StakeError impls the former but not the
// latter... and that conversion is merely surjective........
Expand Down
2 changes: 1 addition & 1 deletion token/program-2022/src/extension/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ pub trait BaseStateWithExtensionsMut<S: BaseState>: BaseStateWithExtensions<S> {
Ok(extension_ref)
}

/// Reallocate and overwite the TLV entry for the given variable-length
/// Reallocate and overwrite the TLV entry for the given variable-length
/// extension.
///
/// Returns an error if the extension is not present, or if there is not
Expand Down

0 comments on commit 591eeed

Please sign in to comment.