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

General cleanup #32980

Merged
merged 5 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes overshadowing reexports.
  • Loading branch information
Lichtso committed Aug 24, 2023
commit 58d4483919b3c027dbe6509282c647e87867d457
4 changes: 2 additions & 2 deletions programs/stake/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
//! config for staking
//! carries variables that the stake program cares about
#[allow(deprecated)]
use solana_sdk::stake::config;
#[deprecated(
since = "1.8.0",
note = "Please use `solana_sdk::stake::config` or `solana_program::stake::config` instead"
)]
pub use solana_sdk::stake::config::*;
#[allow(deprecated)]
use solana_sdk::stake::config::{self, Config};
use {
bincode::deserialize,
solana_config_program::{create_config_account, get_config_data},
Expand Down
2 changes: 1 addition & 1 deletion programs/vote/src/vote_state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use {
log::*,
serde_derive::{Deserialize, Serialize},
solana_metrics::datapoint_debug,
solana_program::vote::{error::VoteError, program::id, state::serde_compact_vote_state_update},
solana_program::vote::{error::VoteError, program::id},
solana_sdk::{
account::{AccountSharedData, ReadableAccount, WritableAccount},
clock::{Epoch, Slot, UnixTimestamp},
Expand Down