remove unused

This commit is contained in:
geemo 2023-03-01 14:39:50 -06:00
parent 12cb00496d
commit 72f74bd05a
2 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,7 @@ pub struct P2pNetworkInterface {
#[cfg_attr(target_arch = "wasm32", async_trait(?Send))] #[cfg_attr(target_arch = "wasm32", async_trait(?Send))]
impl ConsensusNetworkInterface for P2pNetworkInterface { impl ConsensusNetworkInterface for P2pNetworkInterface {
fn new(_path: &str) -> Self { fn new(_path: &str) -> Self {
P2pNetworkInterface {} unimplemented!()
} }
async fn get_bootstrap(&self, _block_root: &'_ [u8]) -> Result<Bootstrap> { async fn get_bootstrap(&self, _block_root: &'_ [u8]) -> Result<Bootstrap> {

View File

@ -3,7 +3,6 @@ pub mod nimbus_rpc;
use async_trait::async_trait; use async_trait::async_trait;
use eyre::Result; use eyre::Result;
use std::marker::{Sync, Send};
use crate::types::{BeaconBlock, Bootstrap, FinalityUpdate, OptimisticUpdate, Update}; use crate::types::{BeaconBlock, Bootstrap, FinalityUpdate, OptimisticUpdate, Update};