mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
chore(consensus): Remove associated type Consensus::Error (#20843)
Co-authored-by: Josh_dfG <126518346+JoshdfG@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@ use alloy_consensus::BlockHeader;
|
||||
use alloy_eips::BlockHashOrNumber;
|
||||
use alloy_rpc_types_engine::{JwtError, JwtSecret};
|
||||
use eyre::Result;
|
||||
use reth_consensus::{Consensus, ConsensusError};
|
||||
use reth_consensus::Consensus;
|
||||
use reth_network_p2p::{
|
||||
bodies::client::BodiesClient, headers::client::HeadersClient, priority::Priority,
|
||||
};
|
||||
@@ -71,7 +71,7 @@ where
|
||||
pub async fn get_single_body<B, Client>(
|
||||
client: Client,
|
||||
header: SealedHeader<B::Header>,
|
||||
consensus: impl Consensus<B, Error = ConsensusError>,
|
||||
consensus: impl Consensus<B>,
|
||||
) -> Result<SealedBlock<B>>
|
||||
where
|
||||
B: Block,
|
||||
|
||||
Reference in New Issue
Block a user