Rename 'new_account' to 'new_user_account'
And 'new_program_account' to 'new_account'
This commit is contained in:
@ -51,7 +51,7 @@ impl BudgetInstruction {
|
||||
}
|
||||
let space = serialized_size(&BudgetState::new(expr.clone())).unwrap();
|
||||
vec![
|
||||
SystemInstruction::new_program_account(&from, contract, lamports, space, &id()),
|
||||
SystemInstruction::new_account(&from, contract, lamports, space, &id()),
|
||||
BudgetInstruction::new_initialize_account(contract, expr),
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user