Don't needlessly expose Slot from solana-poh (#31832)
This commit is contained in:
parent
bf6e248bb9
commit
c0611cb574
|
@ -10,7 +10,6 @@
|
|||
//! For Entries:
|
||||
//! * recorded entry must be >= WorkingBank::min_tick_height && entry must be < WorkingBank::max_tick_height
|
||||
//!
|
||||
pub use solana_sdk::clock::Slot;
|
||||
use {
|
||||
crate::{leader_bank_notifier::LeaderBankNotifier, poh_service::PohService},
|
||||
crossbeam_channel::{unbounded, Receiver, RecvTimeoutError, SendError, Sender, TrySendError},
|
||||
|
@ -28,8 +27,12 @@ use {
|
|||
solana_metrics::poh_timing_point::{send_poh_timing_point, PohTimingSender, SlotPohTimingInfo},
|
||||
solana_runtime::bank::Bank,
|
||||
solana_sdk::{
|
||||
clock::NUM_CONSECUTIVE_LEADER_SLOTS, hash::Hash, poh_config::PohConfig, pubkey::Pubkey,
|
||||
saturating_add_assign, transaction::VersionedTransaction,
|
||||
clock::{Slot, NUM_CONSECUTIVE_LEADER_SLOTS},
|
||||
hash::Hash,
|
||||
poh_config::PohConfig,
|
||||
pubkey::Pubkey,
|
||||
saturating_add_assign,
|
||||
transaction::VersionedTransaction,
|
||||
},
|
||||
std::{
|
||||
cmp,
|
||||
|
|
Loading…
Reference in New Issue