Run codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand
This commit is contained in:
@@ -16,7 +16,7 @@ use test::Bencher;
|
||||
fn create_rewards() -> Rewards {
|
||||
(0..100)
|
||||
.map(|i| Reward {
|
||||
pubkey: Pubkey::new_rand().to_string(),
|
||||
pubkey: solana_sdk::pubkey::new_rand().to_string(),
|
||||
lamports: 42 + i,
|
||||
post_balance: std::u64::MAX,
|
||||
reward_type: Some(RewardType::Fee),
|
||||
|
Reference in New Issue
Block a user