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, &state.fork,
); );
println!("verify {:?}", &block);
verify!( verify!(
block block
.signature .signature

View File

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