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 900e82e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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
2 changes: 1 addition & 1 deletion chain-impl-mockchain/src/ledger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ pub mod test {
let r = ledger.apply_transaction(&signed_tx, &dyn_params);
assert_err!(
Error::NotEnoughSignatures {
expcted: 1,
expected: 1,
actual: 0
},
r
Expand Down

0 comments on commit 900e82e

Please sign in to comment.