Deprecate Instruction::new (#15695)
This commit is contained in:
@@ -110,7 +110,7 @@ pub fn create_account(
|
||||
AccountMeta::new(*from_pubkey, true),
|
||||
AccountMeta::new(*to_pubkey, true),
|
||||
];
|
||||
Instruction::new(
|
||||
Instruction::new_with_bincode(
|
||||
system_program::id(),
|
||||
&SystemInstruction::CreateAccount {
|
||||
lamports,
|
||||
|
Reference in New Issue
Block a user