Skip to content

Commit

Permalink
Reduce pub
Browse files Browse the repository at this point in the history
  • Loading branch information
CriesofCarrots committed Jul 3, 2024
1 parent 213d634 commit 4a14f57
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions runtime/src/bank/recent_blockhashes_account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,8 @@ use {
std::{collections::BinaryHeap, iter::FromIterator},
};

#[deprecated(
since = "1.9.0",
note = "Please do not use, will no longer be available in the future"
)]
#[allow(deprecated)]
pub fn update_account<'a, I>(
account: &mut AccountSharedData,
recent_blockhash_iter: I,
) -> Option<()>
fn update_account<'a, I>(account: &mut AccountSharedData, recent_blockhash_iter: I) -> Option<()>
where
I: IntoIterator<Item = IterItem<'a>>,
{
Expand All @@ -50,12 +43,8 @@ where
create_account_with_data_and_fields(recent_blockhash_iter, (lamports, INITIAL_RENT_EPOCH))
}

#[deprecated(
since = "1.9.0",
note = "Please do not use, will no longer be available in the future"
)]
#[allow(deprecated)]
pub fn create_account_with_data_and_fields<'a, I>(
pub(in crate::bank) fn create_account_with_data_and_fields<'a, I>(
recent_blockhash_iter: I,
fields: InheritableAccountFields,
) -> AccountSharedData
Expand Down

0 comments on commit 4a14f57

Please sign in to comment.