cleanup some println! (#153)

This commit is contained in:
AntiochP 2017-10-03 12:47:07 -04:00 committed by Ignotus Peverell
parent 677d0a3a95
commit bc11d23908

View file

@ -120,14 +120,12 @@ impl Keychain {
.iter()
.filter_map(|k| self.derived_key(&k).ok())
.collect();
println!("pos_keys - {}", pos_keys.len());
let mut neg_keys: Vec<SecretKey> = blind_sum
.negative_pubkeys
.iter()
.filter_map(|k| self.derived_key(&k).ok())
.collect();
println!("neg_keys - {}", neg_keys.len());
pos_keys.extend(&blind_sum
.positive_blinding_factors
@ -141,9 +139,6 @@ impl Keychain {
.map(|b| b.secret_key())
.collect::<Vec<SecretKey>>());
println!("pos_keys all - {}", pos_keys.len());
println!("neg_keys all - {}", neg_keys.len());
let blinding = self.secp.blind_sum(pos_keys, neg_keys)?;
Ok(BlindingFactor::new(blinding))
}