Move types to more appropriate files (#10638)

This commit is contained in:
Jack May
2020-06-17 10:39:14 -07:00
committed by GitHub
parent 39984cdcc3
commit dac7dc2f10
26 changed files with 97 additions and 98 deletions

View File

@@ -10,10 +10,11 @@ use num_derive::{FromPrimitive, ToPrimitive};
use serde_derive::{Deserialize, Serialize};
use solana_metrics::inc_new_counter_info;
use solana_sdk::{
account::{get_signers, KeyedAccount},
account::{get_signers, next_keyed_account, KeyedAccount},
decode_error::DecodeError,
hash::Hash,
instruction::{AccountMeta, Instruction, InstructionError},
program_utils::{limited_deserialize, next_keyed_account, DecodeError},
program_utils::limited_deserialize,
pubkey::Pubkey,
system_instruction,
sysvar::{self, clock::Clock, slot_hashes::SlotHashes, Sysvar},

View File

@@ -738,10 +738,9 @@ mod tests {
use super::*;
use crate::vote_state;
use solana_sdk::{
account::{get_signers, Account},
account::{get_signers, next_keyed_account, Account},
account_utils::StateMut,
hash::hash,
program_utils::next_keyed_account,
};
use std::cell::RefCell;