mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
cleanup some println! (#153)
This commit is contained in:
parent
677d0a3a95
commit
bc11d23908
1 changed files with 0 additions and 5 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue