From 49935c031bb01cdfc14137d882ce772bba2845f9 Mon Sep 17 00:00:00 2001 From: Emilia Hane Date: Wed, 11 Dec 2024 15:27:03 -0500 Subject: [PATCH] Fix docs to match generic tx type --- crates/chain-state/src/in_memory.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/chain-state/src/in_memory.rs b/crates/chain-state/src/in_memory.rs index 536f6baf96e8..5b8bb150804e 100644 --- a/crates/chain-state/src/in_memory.rs +++ b/crates/chain-state/src/in_memory.rs @@ -540,7 +540,7 @@ impl CanonicalInMemoryState { self.inner.in_memory_state.head_state().into_iter().flat_map(|head| head.iter()) } - /// Returns a `TransactionSigned` for the given `TxHash` if found. + /// Returns [`SignedTransaction`] type for the given `TxHash` if found. pub fn transaction_by_hash(&self, hash: TxHash) -> Option where N::SignedTx: Encodable2718, @@ -560,8 +560,8 @@ impl CanonicalInMemoryState { None } - /// Returns a tuple with `TransactionSigned` and `TransactionMeta` for the - /// given `TxHash` if found. + /// Returns a tuple with [`SignedTransaction`] type and [`TransactionMeta`] for the + /// given [`TxHash`] if found. pub fn transaction_by_hash_with_meta( &self, tx_hash: TxHash,