Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/chain-state/src/in_memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ impl<N: NodePrimitives> CanonicalInMemoryStateInner<N> {
}
}

type PendingBlockAndReceipts<N> =
type BlockAndReceipts<N> =
(RecoveredBlock<<N as NodePrimitives>::Block>, Vec<reth_primitives_traits::ReceiptTy<N>>);

/// This type is responsible for providing the blocks, receipts, and state for
Expand Down Expand Up @@ -479,7 +479,7 @@ impl<N: NodePrimitives> CanonicalInMemoryState<N> {

/// Returns a tuple with the `SealedBlock` corresponding to the pending
/// state and a vector of its `Receipt`s.
pub fn pending_block_and_receipts(&self) -> Option<PendingBlockAndReceipts<N>> {
pub fn pending_block_and_receipts(&self) -> Option<BlockAndReceipts<N>> {
self.pending_state().map(|block_state| {
(
block_state.block_ref().recovered_block().clone(),
Expand Down