Rename 'new_account' to 'new_user_account'
And 'new_program_account' to 'new_account'
This commit is contained in:
@ -321,7 +321,7 @@ fn send_barrier_transaction(
|
||||
*blockhash = barrier_client.get_recent_blockhash().unwrap();
|
||||
|
||||
let transaction =
|
||||
SystemTransaction::new_account(&source_keypair, dest_id, 0, *blockhash, 0);
|
||||
SystemTransaction::new_user_account(&source_keypair, dest_id, 0, *blockhash, 0);
|
||||
let signature = barrier_client
|
||||
.transfer_signed(&transaction)
|
||||
.expect("Unable to send barrier transaction");
|
||||
@ -399,7 +399,7 @@ fn generate_txs(
|
||||
.par_iter()
|
||||
.map(|(id, keypair)| {
|
||||
(
|
||||
SystemTransaction::new_account(id, &keypair.pubkey(), 1, blockhash, 0),
|
||||
SystemTransaction::new_user_account(id, &keypair.pubkey(), 1, blockhash, 0),
|
||||
timestamp(),
|
||||
)
|
||||
})
|
||||
|
Reference in New Issue
Block a user