Browse Source

Refer to CreateAccount

Jack May 5 years ago
parent
commit
1117b7840e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      program/src/instruction.rs

+ 3 - 3
program/src/instruction.rs

@@ -23,7 +23,7 @@ pub enum TokenInstruction {
     /// Initializes a new mint and optionally deposits all the newly minted tokens in an account.
     ///
     /// The `InitializeMint` instruction requires no signers and MUST be included within
-    /// the same Transaction as the system program's `CreateInstruction` that creates the account
+    /// the same Transaction as the system program's `CreateAccount` instruction that creates the account
     /// being initialized.  Otherwise another party can acquire ownership of the uninitialized account.
     ///
     /// Accounts expected by this instruction:
@@ -45,7 +45,7 @@ pub enum TokenInstruction {
     /// initialized before this command can succeed.
     ///
     /// The `InitializeAccount` instruction requires no signers and MUST be included within
-    /// the same Transaction as the system program's `CreateInstruction` that creates the account
+    /// the same Transaction as the system program's `CreateAccount` instruction that creates the account
     /// being initialized.  Otherwise another party can acquire ownership of the uninitialized account.
     ///
     /// Accounts expected by this instruction:
@@ -62,7 +62,7 @@ pub enum TokenInstruction {
     /// number of signers (M) required to validate this multisignature account.
     ///
     /// The `InitializeMultisig` instruction requires no signers and MUST be included within
-    /// the same Transaction as the system program's `CreateInstruction` that creates the account
+    /// the same Transaction as the system program's `CreateAccount` instruction that creates the account
     /// being initialized.  Otherwise another party can acquire ownership of the uninitialized account.
     ///
     /// Accounts expected by this instruction: