Removes further unneccessary debug output
This commit is contained in:
parent
f03259991d
commit
e0b5e74e7c
@ -22,13 +22,13 @@ pub fn run<T: ClientTypes>(client: &Client<T>, executor: TaskExecutor, exit: Exi
|
|||||||
|
|
||||||
// build heartbeat logic here
|
// build heartbeat logic here
|
||||||
let heartbeat = move |_| {
|
let heartbeat = move |_| {
|
||||||
debug!(log, "Temp heartbeat output");
|
//debug!(log, "Temp heartbeat output");
|
||||||
//TODO: Remove this logic. Testing only
|
//TODO: Remove this logic. Testing only
|
||||||
let mut count = counter.lock().unwrap();
|
let mut count = counter.lock().unwrap();
|
||||||
*count += 1;
|
*count += 1;
|
||||||
|
|
||||||
if *count % 5 == 0 {
|
if *count % 5 == 0 {
|
||||||
debug!(log, "Sending Message");
|
// debug!(log, "Sending Message");
|
||||||
network.send_message();
|
network.send_message();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ fn network_service(
|
|||||||
libp2p_service.swarm.send_rpc(peer_id, rpc_event);
|
libp2p_service.swarm.send_rpc(peer_id, rpc_event);
|
||||||
}
|
}
|
||||||
OutgoingMessage::NotifierTest => {
|
OutgoingMessage::NotifierTest => {
|
||||||
debug!(log, "Received message from notifier");
|
// debug!(log, "Received message from notifier");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -99,9 +99,6 @@ fn validate_attestation_parametric(
|
|||||||
crosslink_data_root: attestation.data.crosslink_data_root,
|
crosslink_data_root: attestation.data.crosslink_data_root,
|
||||||
epoch: attestation.data.slot.epoch(spec.slots_per_epoch),
|
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!(
|
verify!(
|
||||||
(attestation.data.previous_crosslink
|
(attestation.data.previous_crosslink
|
||||||
== state.latest_crosslinks[attestation.data.shard as usize])
|
== state.latest_crosslinks[attestation.data.shard as usize])
|
||||||
|
Loading…
Reference in New Issue
Block a user