diff --git a/phase2/src/bin/beacon.rs b/phase2/src/bin/beacon.rs index 04676d6..bd223df 100644 --- a/phase2/src/bin/beacon.rs +++ b/phase2/src/bin/beacon.rs @@ -64,7 +64,7 @@ fn main() { for b in cur_hash.iter() { print!("{:02x}", b); } - println!(""); + println!(); let mut digest = &cur_hash[..]; diff --git a/powersoftau/src/bin/beacon_constrained.rs b/powersoftau/src/bin/beacon_constrained.rs index 3c7c28c..1edd6f4 100644 --- a/powersoftau/src/bin/beacon_constrained.rs +++ b/powersoftau/src/bin/beacon_constrained.rs @@ -51,7 +51,7 @@ fn main() { let mut cur_hash: [u8; 32] = hex!("0000000000000000000a558a61ddc8ee4e488d647a747fe4dcc362fe2026c620"); // Performs 2^n hash iterations over it - const N: usize = 10; + const N: u64 = 10; for i in 0..(1u64<::generate_initial(&mut writable_map, COMPRESS_NEW_CHALLENGE).expect("generation of initial accumulator is successful"); @@ -81,7 +81,7 @@ fn main() { } print!(" "); } - println!(""); + println!(); } println!("Wrote a fresh accumulator to challenge file"); diff --git a/powersoftau/src/bin/verify.rs b/powersoftau/src/bin/verify.rs index 9514538..12417f5 100644 --- a/powersoftau/src/bin/verify.rs +++ b/powersoftau/src/bin/verify.rs @@ -155,9 +155,9 @@ fn new_accumulator_for_verify() -> BachedAccumulator BachedAccumulator