9951 clippy errors in the test suite (#10030)

automerge
This commit is contained in:
Kristofer Peterson
2020-05-15 17:35:43 +01:00
committed by GitHub
parent 1da1667920
commit 58ef02f02b
106 changed files with 713 additions and 827 deletions

View File

@ -315,7 +315,6 @@ mod tests {
num_accounts: usize,
) -> Vec<(Pubkey, u64)> {
(0..num_accounts)
.into_iter()
.map(|i| {
let address = derive_stake_account_address(&base_pubkey, i);
(address, client.get_balance(&address).unwrap())
@ -329,7 +328,6 @@ mod tests {
num_accounts: usize,
) -> Vec<(Pubkey, Lockup)> {
(0..num_accounts)
.into_iter()
.map(|i| {
let address = derive_stake_account_address(&base_pubkey, i);
let account = client.get_account(&address).unwrap().unwrap();