Add logger to sync module

This commit is contained in:
Age Manning
2019-03-19 21:55:57 +11:00
parent 6e10ce93d4
commit b30d72501c
2 changed files with 9 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ impl MessageHandler {
// Initialise sync and begin processing in thread
// generate the Message handler
let sync = SimpleSync::new(beacon_chain.clone());
let sync = SimpleSync::new(beacon_chain.clone(), &log);
let mut handler = MessageHandler {
// TODO: The handler may not need a chain, perhaps only sync?