From c85da612f64c16640cbcfab2c8fbc3a9d6de12f1 Mon Sep 17 00:00:00 2001 From: Age Manning Date: Sun, 31 Mar 2019 15:35:54 +1100 Subject: [PATCH] Remove debugging statements --- beacon_node/beacon_chain/src/beacon_chain.rs | 2 +- beacon_node/rpc/src/attestation.rs | 3 --- validator_client/src/attestation_producer/grpc.rs | 2 -- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/beacon_node/beacon_chain/src/beacon_chain.rs b/beacon_node/beacon_chain/src/beacon_chain.rs index 046f37a81..f600fb1ac 100644 --- a/beacon_node/beacon_chain/src/beacon_chain.rs +++ b/beacon_node/beacon_chain/src/beacon_chain.rs @@ -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 { self.canonical_head.read() diff --git a/beacon_node/rpc/src/attestation.rs b/beacon_node/rpc/src/attestation.rs index 494b24067..abef49df1 100644 --- a/beacon_node/rpc/src/attestation.rs +++ b/beacon_node/rpc/src/attestation.rs @@ -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)); diff --git a/validator_client/src/attestation_producer/grpc.rs b/validator_client/src/attestation_producer/grpc.rs index 49c577e24..900a92f32 100644 --- a/validator_client/src/attestation_producer/grpc.rs +++ b/validator_client/src/attestation_producer/grpc.rs @@ -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)?;