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,