removed printlns

This commit is contained in:
Darren Langley 2019-04-19 07:09:20 +10:00
parent 010d319fdf
commit 773227d627
2 changed files with 0 additions and 3 deletions

View File

@ -139,8 +139,6 @@ pub fn verify_block_signature(
&state.fork,
);
println!("verify {:?}", &block);
verify!(
block
.signature

View File

@ -33,7 +33,6 @@ impl TestingBeaconBlockBuilder {
/// Modifying the block after signing may invalidate the signature.
pub fn sign(&mut self, sk: &SecretKey, fork: &Fork, spec: &ChainSpec) {
let message = self.block.signed_root();
println!("block set {:?}", self.block);
let epoch = self.block.slot.epoch(spec.slots_per_epoch);
let domain = spec.get_domain(epoch, Domain::BeaconBlock, fork);
self.block.signature = Signature::new(&message, domain, sk);