Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

Commit

Permalink
remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDP committed May 31, 2019
1 parent 59e9e60 commit 1aa4529
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions chain-impl-mockchain/src/block/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,16 +261,13 @@ impl Readable for Header {
}
AnyBlockVersion::Supported(BlockVersion::KesVrfproof) => {
let node_id = StakePoolId::read(buf)?;
dbg!(&node_id);
let vrf_proof = {
let bytes = <[u8;<Curve25519_2HashDH as VerifiableRandomFunction>::VERIFIED_RANDOM_SIZE]>::read(buf)?;

<Curve25519_2HashDH as VerifiableRandomFunction>::VerifiedRandomOutput::from_bytes_unverified(&bytes)
.ok_or(ReadError::StructureInvalid("VRF Proof".to_string()))
}?;
dbg!(&vrf_proof);
let kes_proof = deserialize_signature(buf).map(KESSignature)?;
dbg!(&kes_proof);

Proof::GenesisPraos(GenesisPraosProof {
node_id: node_id,
Expand Down

0 comments on commit 1aa4529

Please sign in to comment.