Fix parsing CreateAccountWithSeed instructions (#13513)
* Reduce required num_system_accounts and handle 2-account instructions properly * Update CreateAccountWithSeed account docs to be correct * Add CreateAccountWithSeed test
This commit is contained in:
@ -92,7 +92,9 @@ pub enum SystemInstruction {
|
||||
/// # Account references
|
||||
/// 0. [WRITE, SIGNER] Funding account
|
||||
/// 1. [WRITE] Created account
|
||||
/// 2. [SIGNER] Base account
|
||||
/// 2. [SIGNER] (optional) Base account; the account matching the base Pubkey below must be
|
||||
/// provided as a signer, but may be the same as the funding account
|
||||
/// and provided as account 0
|
||||
CreateAccountWithSeed {
|
||||
/// Base public key
|
||||
base: Pubkey,
|
||||
|
Reference in New Issue
Block a user