Run codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand

This commit is contained in:
Michael Vines
2020-10-19 12:12:08 -07:00
parent 76f11c7dae
commit 7bc073defe
118 changed files with 963 additions and 963 deletions

View File

@ -9,8 +9,8 @@ use solana_sdk::sysvar::instructions;
use test::Bencher;
fn make_instructions() -> Vec<Instruction> {
let meta = AccountMeta::new(Pubkey::new_rand(), false);
let inst = Instruction::new(Pubkey::new_rand(), &[0; 10], vec![meta; 4]);
let meta = AccountMeta::new(solana_sdk::pubkey::new_rand(), false);
let inst = Instruction::new(solana_sdk::pubkey::new_rand(), &[0; 10], vec![meta; 4]);
vec![inst; 4]
}