mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore: remove unnecessary async_trait usage (#5433)
This commit is contained in:
@@ -4,7 +4,6 @@ use crate::p2p::{
|
||||
error::PeerRequestResult,
|
||||
priority::Priority,
|
||||
};
|
||||
use async_trait::async_trait;
|
||||
use futures::{future, Future, FutureExt};
|
||||
use reth_primitives::{BlockBody, WithPeerId, B256};
|
||||
use std::{
|
||||
|
||||
@@ -282,7 +282,6 @@ impl TestConsensus {
|
||||
}
|
||||
}
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl Consensus for TestConsensus {
|
||||
fn validate_header(&self, _header: &SealedHeader) -> Result<(), ConsensusError> {
|
||||
if self.fail_validation() {
|
||||
|
||||
Reference in New Issue
Block a user