Split SDK's timing.rs (#5823)

This commit is contained in:
Jack May
2019-09-06 14:30:56 -07:00
committed by GitHub
parent cc8575dd96
commit e8d88f3237
44 changed files with 169 additions and 163 deletions

View File

@@ -7,10 +7,10 @@ use log::*;
use serde_derive::{Deserialize, Serialize};
use solana_sdk::{
account::KeyedAccount,
clock::Slot,
instruction::{AccountMeta, Instruction, InstructionError},
pubkey::Pubkey,
system_instruction, sysvar,
timing::Slot,
};
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]

View File

@@ -9,6 +9,7 @@ use serde_derive::{Deserialize, Serialize};
use solana_sdk::{
account::{Account, KeyedAccount},
account_utils::State,
clock::{Epoch, Slot},
instruction::InstructionError,
instruction_processor_utils::DecodeError,
pubkey::Pubkey,
@@ -16,7 +17,6 @@ use solana_sdk::{
self,
stake_history::{StakeHistory, StakeHistoryEntry},
},
timing::{Epoch, Slot},
};
use solana_vote_api::vote_state::VoteState;