Remove unused pubkey::Pubkey imports

This commit is contained in:
Michael Vines
2020-10-19 12:23:14 -07:00
parent 17c391121a
commit 959880db60
53 changed files with 243 additions and 115 deletions

View File

@ -8,7 +8,7 @@ use solana_ledger::{
get_tmp_ledger_path,
};
use solana_runtime::bank::RewardType;
use solana_sdk::{clock::Slot, pubkey::Pubkey};
use solana_sdk::{clock::Slot, pubkey};
use solana_transaction_status::{Reward, Rewards};
use std::path::Path;
use test::Bencher;
@ -16,7 +16,7 @@ use test::Bencher;
fn create_rewards() -> Rewards {
(0..100)
.map(|i| Reward {
pubkey: solana_sdk::pubkey::new_rand().to_string(),
pubkey: pubkey::new_rand().to_string(),
lamports: 42 + i,
post_balance: std::u64::MAX,
reward_type: Some(RewardType::Fee),