Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
CriesofCarrots committed Jul 3, 2024
1 parent 4a14f57 commit 863abd4
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions runtime/src/bank/recent_blockhashes_account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,6 @@ where
to_account(&recent_blockhashes, account)
}

#[deprecated(
since = "1.5.17",
note = "Please use `create_account_with_data_for_test` instead"
)]
#[allow(deprecated)]
pub fn create_account_with_data<'a, I>(lamports: u64, recent_blockhash_iter: I) -> AccountSharedData
where
I: IntoIterator<Item = IterItem<'a>>,
{
#[allow(deprecated)]
create_account_with_data_and_fields(recent_blockhash_iter, (lamports, INITIAL_RENT_EPOCH))
}

#[allow(deprecated)]
pub(in crate::bank) fn create_account_with_data_and_fields<'a, I>(
recent_blockhash_iter: I,
Expand Down

0 comments on commit 863abd4

Please sign in to comment.