mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
add empty_line_after_doc_comments and remove option_if_let_else (#8539)
This commit is contained in:
@ -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)?)
|
||||
|
||||
Reference in New Issue
Block a user