@@ -29,9 +29,9 @@ pub struct TokenInfo {
29
29
pub enum TokenInstruction {
30
30
/// Initializes a new mint and optionally deposits all the newly minted tokens in an account.
31
31
///
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.
35
35
///
36
36
/// Accounts expected by this instruction:
37
37
///
@@ -45,9 +45,9 @@ pub enum TokenInstruction {
45
45
InitializeMint ( TokenInfo ) ,
46
46
/// Initializes a new account to hold tokens.
47
47
///
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.
51
51
///
52
52
/// Accounts expected by this instruction:
53
53
///
@@ -61,9 +61,9 @@ pub enum TokenInstruction {
61
61
/// token instruction that require an owner/delegate to be present. The variant field represents the
62
62
/// number of signers (M) required to validate this multisignature account.
63
63
///
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.
67
67
///
68
68
/// Accounts expected by this instruction:
69
69
///
0 commit comments