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

Commit db1da9b

Browse files
authored
Update docs (#89)
1 parent ad823a1 commit db1da9b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

token/src/instruction.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ pub struct TokenInfo {
2929
pub enum TokenInstruction {
3030
/// Initializes a new mint and optionally deposits all the newly minted tokens in an account.
3131
///
32-
/// The `InitializeWrappedAccount` instruction requires no signers and MUST be included within
33-
/// the Transaction that creates the uninitialized account with the system program. Otherwise
34-
/// another party can acquire ownership of the uninitialized token account.
32+
/// The `InitializeMint` instruction requires no signers and MUST be included within
33+
/// the same Transaction as the system program's `CreateInstruction` that creates the account
34+
/// being initialized. Otherwise another party can acquire ownership of the uninitialized account.
3535
///
3636
/// Accounts expected by this instruction:
3737
///
@@ -45,9 +45,9 @@ pub enum TokenInstruction {
4545
InitializeMint(TokenInfo),
4646
/// Initializes a new account to hold tokens.
4747
///
48-
/// The `InitializeWrappedAccount` instruction requires no signers and MUST be included within
49-
/// the Transaction that creates the uninitialized account with the system program. Otherwise
50-
/// another party can acquire ownership of the uninitialized token account.
48+
/// The `InitializeAccount` instruction requires no signers and MUST be included within
49+
/// the same Transaction as the system program's `CreateInstruction` that creates the account
50+
/// being initialized. Otherwise another party can acquire ownership of the uninitialized account.
5151
///
5252
/// Accounts expected by this instruction:
5353
///
@@ -61,9 +61,9 @@ pub enum TokenInstruction {
6161
/// token instruction that require an owner/delegate to be present. The variant field represents the
6262
/// number of signers (M) required to validate this multisignature account.
6363
///
64-
/// The `InitializeWrappedAccount` instruction requires no signers and MUST be included within
65-
/// the Transaction that creates the uninitialized account with the system program. Otherwise
66-
/// another party can acquire ownership of the uninitialized token account.
64+
/// The `InitializeMultisig` instruction requires no signers and MUST be included within
65+
/// the same Transaction as the system program's `CreateInstruction` that creates the account
66+
/// being initialized. Otherwise another party can acquire ownership of the uninitialized account.
6767
///
6868
/// Accounts expected by this instruction:
6969
///

0 commit comments

Comments
 (0)