add empty_line_after_doc_comments and remove option_if_let_else (#8539)

This commit is contained in:
Thomas Coratger
2024-06-01 17:21:50 +02:00
committed by GitHub
parent dfce570ceb
commit da233bf322
5 changed files with 5 additions and 8 deletions

View File

@ -1641,8 +1641,7 @@ impl<TX: DbTx> TransactionsProviderExt for DatabaseProvider<TX> {
}
}
/// Calculates the hash of the given transaction
// Calculates the hash of the given transaction
impl<TX: DbTx> TransactionsProvider for DatabaseProvider<TX> {
fn transaction_id(&self, tx_hash: TxHash) -> ProviderResult<Option<TxNumber>> {
Ok(self.tx.get::<tables::TransactionHashNumbers>(tx_hash)?)