diff --git a/crates/chain-state/src/in_memory.rs b/crates/chain-state/src/in_memory.rs index cd194db81e3..757df46e5b2 100644 --- a/crates/chain-state/src/in_memory.rs +++ b/crates/chain-state/src/in_memory.rs @@ -160,7 +160,7 @@ impl CanonicalInMemoryStateInner { } } -type PendingBlockAndReceipts = +type BlockAndReceipts = (RecoveredBlock<::Block>, Vec>); /// This type is responsible for providing the blocks, receipts, and state for @@ -479,7 +479,7 @@ impl CanonicalInMemoryState { /// 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> { + pub fn pending_block_and_receipts(&self) -> Option> { self.pending_state().map(|block_state| { ( block_state.block_ref().recovered_block().clone(),