clean up some tracing

This commit is contained in:
keorn 2016-12-01 17:19:40 +00:00
parent 4eca687bbb
commit e40e398eaa

View File

@ -224,21 +224,10 @@ impl IoHandler<ClientIoMessage> for ClientIoHandler {
debug!(target: "snapshot", "Failed to initialize periodic snapshot thread: {:?}", e); debug!(target: "snapshot", "Failed to initialize periodic snapshot thread: {:?}", e);
} }
}, },
ClientIoMessage::UpdateSealing => { ClientIoMessage::UpdateSealing => self.client.update_sealing(),
trace!(target: "poa", "message: UpdateSealing"); ClientIoMessage::SubmitSeal(ref hash, ref seal) => self.client.submit_seal(*hash, seal.clone()),
self.client.update_sealing(); ClientIoMessage::BroadcastMessage(ref message) => self.client.broadcast_message(message.clone()),
}, ClientIoMessage::NewMessage(ref message) => self.client.handle_queued_message(message),
ClientIoMessage::SubmitSeal(ref hash, ref seal) => {
trace!(target: "poa", "message: SubmitSeal");
self.client.submit_seal(*hash, seal.clone());
},
ClientIoMessage::BroadcastMessage(ref message) => {
trace!(target: "poa", "message: BroadcastMessage");
self.client.broadcast_message(message.clone());
},
ClientIoMessage::NewMessage(ref message) => {
self.client.handle_queued_message(message);
},
_ => {} // ignore other messages _ => {} // ignore other messages
} }
} }