Remove debugging statements
This commit is contained in:
parent
33473892f2
commit
c85da612f6
@ -290,7 +290,7 @@ where
|
|||||||
/// fork-choice rule).
|
/// fork-choice rule).
|
||||||
///
|
///
|
||||||
/// It is important to note that the `beacon_state` returned may not match the present slot. It
|
/// 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.
|
/// now.
|
||||||
pub fn head(&self) -> RwLockReadGuard<CheckPoint> {
|
pub fn head(&self) -> RwLockReadGuard<CheckPoint> {
|
||||||
self.canonical_head.read()
|
self.canonical_head.read()
|
||||||
|
@ -86,9 +86,6 @@ impl AttestationService for AttestationServiceInstance {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
dbg!("Produced attestation");
|
|
||||||
dbg!(attestation_data.clone());
|
|
||||||
|
|
||||||
let mut attestation_data_proto = AttestationDataProto::new();
|
let mut attestation_data_proto = AttestationDataProto::new();
|
||||||
attestation_data_proto.set_ssz(ssz_encode(&attestation_data));
|
attestation_data_proto.set_ssz(ssz_encode(&attestation_data));
|
||||||
|
|
||||||
|
@ -22,8 +22,6 @@ impl BeaconNodeAttestation for AttestationServiceClient {
|
|||||||
.produce_attestation_data(&req)
|
.produce_attestation_data(&req)
|
||||||
.map_err(|err| BeaconNodeError::RemoteFailure(format!("{:?}", err)))?;
|
.map_err(|err| BeaconNodeError::RemoteFailure(format!("{:?}", err)))?;
|
||||||
|
|
||||||
dbg!("Produced Attestation Data");
|
|
||||||
|
|
||||||
let (attestation_data, _index) =
|
let (attestation_data, _index) =
|
||||||
AttestationData::ssz_decode(reply.get_attestation_data().get_ssz(), 0)
|
AttestationData::ssz_decode(reply.get_attestation_data().get_ssz(), 0)
|
||||||
.map_err(|_| BeaconNodeError::DecodeFailure)?;
|
.map_err(|_| BeaconNodeError::DecodeFailure)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user