mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(sdk): fix docs to match generic tx type (#13316)
This commit is contained in:
@ -540,7 +540,7 @@ impl<N: NodePrimitives> CanonicalInMemoryState<N> {
|
||||
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<N::SignedTx>
|
||||
where
|
||||
N::SignedTx: Encodable2718,
|
||||
@ -560,8 +560,8 @@ impl<N: NodePrimitives> CanonicalInMemoryState<N> {
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user