Browse Source

Fix check blockage tests

onyinyang 2 weeks ago
parent
commit
0d3b721982
1 changed files with 1 additions and 4 deletions
  1. 1 4
      src/proto/check_blockage.rs

+ 1 - 4
src/proto/check_blockage.rs

@@ -67,7 +67,7 @@ pub fn request(
 ) -> Result<(check_blockage::Request, check_blockage::ClientState), CredentialError> {
     cmz_group_init(G::hash_from_bytes::<Sha512>(b"CMZ Generator A"));
 
-    // Ensure that the credenials can be correctly shown; that is, the
+    // Ensure that the credentials can be correctly shown; that is, the
     // ids match and the Lox credential bucket matches the Migration
     // credential from_bucket
     if L.id.is_none() {
@@ -144,8 +144,6 @@ impl BridgeAuth {
                 };
                 L.set_privkey(&self.lox_priv);
                 M.set_privkey(&self.migrationkey_priv);
-                M.lox_id = L.id;
-                M.from_bucket = L.bucket;
                 Ok(())
             },
             |L: &Lox, _M: &MigrationKey| {
@@ -213,7 +211,6 @@ mod tests {
         let lox_cred_3 = th.level_up(rng, lox_cred_2.clone());
         th.block_bridges(lox_cred_3.clone());
         mig_cred = th.check_blockage(rng, lox_cred_3.clone());
-        println!("Mig Cred: {:?}", mig_cred);
         th.verify_migration(&mig_cred);
     }
 }