Remove debugging statements

This commit is contained in:
Age Manning 2019-03-31 15:35:54 +11:00
parent 33473892f2
commit c85da612f6
No known key found for this signature in database
GPG Key ID: 05EED64B79E06A93
3 changed files with 1 additions and 6 deletions

View File

@ -290,7 +290,7 @@ where
/// fork-choice rule).
///
/// It is important to note that the `beacon_state` returned may not match the present slot. It
/// is the state as it was when the head block was recieved, which could be some slots prior to
/// is the state as it was when the head block was received, which could be some slots prior to
/// now.
pub fn head(&self) -> RwLockReadGuard<CheckPoint> {
self.canonical_head.read()

View File

@ -86,9 +86,6 @@ impl AttestationService for AttestationServiceInstance {
}
};
dbg!("Produced attestation");
dbg!(attestation_data.clone());
let mut attestation_data_proto = AttestationDataProto::new();
attestation_data_proto.set_ssz(ssz_encode(&attestation_data));

View File

@ -22,8 +22,6 @@ impl BeaconNodeAttestation for AttestationServiceClient {
.produce_attestation_data(&req)
.map_err(|err| BeaconNodeError::RemoteFailure(format!("{:?}", err)))?;
dbg!("Produced Attestation Data");
let (attestation_data, _index) =
AttestationData::ssz_decode(reply.get_attestation_data().get_ssz(), 0)
.map_err(|_| BeaconNodeError::DecodeFailure)?;