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

Commit c0611cb

Browse files
authored
Don't needlessly expose Slot from solana-poh (#31832)
1 parent bf6e248 commit c0611cb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

poh/src/poh_recorder.rs

+6-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
//! For Entries:
1111
//! * recorded entry must be >= WorkingBank::min_tick_height && entry must be < WorkingBank::max_tick_height
1212
//!
13-
pub use solana_sdk::clock::Slot;
1413
use {
1514
crate::{leader_bank_notifier::LeaderBankNotifier, poh_service::PohService},
1615
crossbeam_channel::{unbounded, Receiver, RecvTimeoutError, SendError, Sender, TrySendError},
@@ -28,8 +27,12 @@ use {
2827
solana_metrics::poh_timing_point::{send_poh_timing_point, PohTimingSender, SlotPohTimingInfo},
2928
solana_runtime::bank::Bank,
3029
solana_sdk::{
31-
clock::NUM_CONSECUTIVE_LEADER_SLOTS, hash::Hash, poh_config::PohConfig, pubkey::Pubkey,
32-
saturating_add_assign, transaction::VersionedTransaction,
30+
clock::{Slot, NUM_CONSECUTIVE_LEADER_SLOTS},
31+
hash::Hash,
32+
poh_config::PohConfig,
33+
pubkey::Pubkey,
34+
saturating_add_assign,
35+
transaction::VersionedTransaction,
3336
},
3437
std::{
3538
cmp,

0 commit comments

Comments
 (0)