Browse Source

remove prints during testing

ckomlo 5 years ago
parent
commit
a2244c3740
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/vss.rs

+ 0 - 6
src/vss.rs

@@ -309,7 +309,6 @@ mod tests {
         let mut next_com = com;
 
         for i in 0..5 {
-            print!("{:?} \n", i);
 
             // Create a new update
             let update_comm_res = create_update(5, 2);
@@ -326,18 +325,13 @@ mod tests {
             for share in &next_shares {
                 let share_update = updates_to_shares.next().unwrap();
                 let update_share_res = apply_share_update(&share, &share_update, &updated_commitment);
-                if !update_share_res.is_ok() {
-                    print!("Error when updating share: {:?} \n", update_share_res.err());
-                }
 
                 assert!(update_share_res.is_ok());
                 let updated_share = update_share_res.unwrap();
 
                 // only collect the last round of updated shares
                 if i == 4 {
-                    print!("here {:?} \n", i);
                     updated_shares.push(updated_share);
-                    print!("len {:?} \n", updated_shares.len());
                 }
                 iterim_shares.push(updated_share);
             }