chore: rename transaction_by_id_no_hash fn (#12783)

This commit is contained in:
Matthias Seitz
2024-11-22 16:35:50 +01:00
committed by GitHub
parent 7b156f058c
commit 362e2ed0af
11 changed files with 22 additions and 22 deletions

View File

@ -433,15 +433,15 @@ impl<N: ProviderNodeTypes> TransactionsProvider for ProviderFactory<N> {
)
}
fn transaction_by_id_no_hash(
fn transaction_by_id_unhashed(
&self,
id: TxNumber,
) -> ProviderResult<Option<TransactionSignedNoHash>> {
self.static_file_provider.get_with_static_file_or_database(
StaticFileSegment::Transactions,
id,
|static_file| static_file.transaction_by_id_no_hash(id),
|| self.provider()?.transaction_by_id_no_hash(id),
|static_file| static_file.transaction_by_id_unhashed(id),
|| self.provider()?.transaction_by_id_unhashed(id),
)
}