From 72f74bd05aa7f4b505536f5d8ffc6e43937dca5b Mon Sep 17 00:00:00 2001 From: geemo Date: Wed, 1 Mar 2023 14:39:50 -0600 Subject: [PATCH] remove unused --- consensus/src/p2p/p2p_network_interface.rs | 2 +- consensus/src/rpc/mod.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/consensus/src/p2p/p2p_network_interface.rs b/consensus/src/p2p/p2p_network_interface.rs index 02acf7f..6ec8c17 100644 --- a/consensus/src/p2p/p2p_network_interface.rs +++ b/consensus/src/p2p/p2p_network_interface.rs @@ -14,7 +14,7 @@ pub struct P2pNetworkInterface { #[cfg_attr(target_arch = "wasm32", async_trait(?Send))] impl ConsensusNetworkInterface for P2pNetworkInterface { fn new(_path: &str) -> Self { - P2pNetworkInterface {} + unimplemented!() } async fn get_bootstrap(&self, _block_root: &'_ [u8]) -> Result { diff --git a/consensus/src/rpc/mod.rs b/consensus/src/rpc/mod.rs index e97eacb..c478f67 100644 --- a/consensus/src/rpc/mod.rs +++ b/consensus/src/rpc/mod.rs @@ -3,7 +3,6 @@ pub mod nimbus_rpc; use async_trait::async_trait; use eyre::Result; -use std::marker::{Sync, Send}; use crate::types::{BeaconBlock, Bootstrap, FinalityUpdate, OptimisticUpdate, Update};