Removes further unneccessary debug output

This commit is contained in:
Age Manning 2019-03-31 15:45:52 +11:00
parent f03259991d
commit e0b5e74e7c
No known key found for this signature in database
GPG Key ID: 05EED64B79E06A93
3 changed files with 3 additions and 6 deletions

View File

@ -22,13 +22,13 @@ pub fn run<T: ClientTypes>(client: &Client<T>, executor: TaskExecutor, exit: Exi
// build heartbeat logic here
let heartbeat = move |_| {
debug!(log, "Temp heartbeat output");
//debug!(log, "Temp heartbeat output");
//TODO: Remove this logic. Testing only
let mut count = counter.lock().unwrap();
*count += 1;
if *count % 5 == 0 {
debug!(log, "Sending Message");
// debug!(log, "Sending Message");
network.send_message();
}

View File

@ -161,7 +161,7 @@ fn network_service(
libp2p_service.swarm.send_rpc(peer_id, rpc_event);
}
OutgoingMessage::NotifierTest => {
debug!(log, "Received message from notifier");
// debug!(log, "Received message from notifier");
}
};
}

View File

@ -99,9 +99,6 @@ fn validate_attestation_parametric(
crosslink_data_root: attestation.data.crosslink_data_root,
epoch: attestation.data.slot.epoch(spec.slots_per_epoch),
};
dbg!(attestation.clone());
dbg!(state.latest_crosslinks[attestation.data.shard as usize].clone());
dbg!(potential_crosslink.clone());
verify!(
(attestation.data.previous_crosslink
== state.latest_crosslinks[attestation.data.shard as usize])