Remove BeaconChain wrapper trait from network

This commit is contained in:
Paul Hauner
2019-05-30 18:27:19 +10:00
parent f44170cab1
commit 0590504261
6 changed files with 44 additions and 173 deletions

View File

@@ -1,7 +1,7 @@
use crate::beacon_chain::{BeaconChain, BeaconChainTypes};
use crate::error;
use crate::message_handler::{HandlerMessage, MessageHandler};
use crate::NetworkConfig;
use beacon_chain::{BeaconChain, BeaconChainTypes};
use crossbeam_channel::{unbounded as channel, Sender, TryRecvError};
use eth2_libp2p::Service as LibP2PService;
use eth2_libp2p::{Libp2pEvent, PeerId};