diff --git a/token/inc/token.h b/token/inc/token.h index 5e5ad9b80b9..4d38e593a90 100644 --- a/token/inc/token.h +++ b/token/inc/token.h @@ -111,12 +111,12 @@ typedef enum Token_TokenInstruction_Tag { * * * Single owner * 0. `[writable]` The source account. - * 2. `[signer]` The source account owner. + * 1. `[signer]` The source account owner. * * * Multisignature owner * 0. `[writable]` The source account. - * 2. '[]' The source account's multisignature owner. - * 3. ..3+M '[signer]' M signer accounts + * 1. '[]' The source account's multisignature owner. + * 2. ..2+M '[signer]' M signer accounts */ Revoke, /** @@ -160,12 +160,12 @@ typedef enum Token_TokenInstruction_Tag { * * * Single owner/delegate * 0. `[writable]` The account to burn from. - * 2. `[signer]` The account's owner/delegate. + * 1. `[signer]` The account's owner/delegate. * * * Multisignature owner/delegate * 0. `[writable]` The account to burn from. - * 2. `[]` The account's multisignature owner/delegate - * 3. ..3+M '[signer]' M signer accounts. + * 1. `[]` The account's multisignature owner/delegate + * 2. ..2+M '[signer]' M signer accounts. */ Burn, } Token_TokenInstruction_Tag; diff --git a/token/src/instruction.rs b/token/src/instruction.rs index 9df768549ef..14fe45e85f4 100644 --- a/token/src/instruction.rs +++ b/token/src/instruction.rs @@ -111,12 +111,12 @@ pub enum TokenInstruction { /// /// * Single owner /// 0. `[writable]` The source account. - /// 2. `[signer]` The source account owner. + /// 1. `[signer]` The source account owner. /// /// * Multisignature owner /// 0. `[writable]` The source account. - /// 2. '[]' The source account's multisignature owner. - /// 3. ..3+M '[signer]' M signer accounts + /// 1. '[]' The source account's multisignature owner. + /// 2. ..2+M '[signer]' M signer accounts Revoke, /// Sets a new owner of a mint or account. /// @@ -157,12 +157,12 @@ pub enum TokenInstruction { /// /// * Single owner/delegate /// 0. `[writable]` The account to burn from. - /// 2. `[signer]` The account's owner/delegate. + /// 1. `[signer]` The account's owner/delegate. /// /// * Multisignature owner/delegate /// 0. `[writable]` The account to burn from. - /// 2. `[]` The account's multisignature owner/delegate - /// 3. ..3+M '[signer]' M signer accounts. + /// 1. `[]` The account's multisignature owner/delegate + /// 2. ..2+M '[signer]' M signer accounts. Burn { /// The amount of tokens to burn. amount: u64,