From 3d12a4eafa056b496ce808dc941740f0af2a457f Mon Sep 17 00:00:00 2001 From: Emilia Hane Date: Wed, 11 Dec 2024 15:46:07 -0500 Subject: [PATCH] chore(sdk): fix docs to match generic tx type (#13316) --- 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,