chore: remove unnecessary async_trait usage (#5433)

This commit is contained in:
Roman Krasiuk
2023-11-15 04:15:37 -08:00
committed by GitHub
parent 352721370d
commit e109896dbe
5 changed files with 0 additions and 6 deletions

View File

@@ -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::{

View File

@@ -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() {