Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Don't needlessly expose Slot from solana-poh (#31832)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun authored May 26, 2023
1 parent bf6e248 commit c0611cb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions poh/src/poh_recorder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand All @@ -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,
Expand Down

0 comments on commit c0611cb

Please sign in to comment.