Explorar el Código

crypto/proof: Fix test unit.

parazyd hace 4 años
padre
commit
f30d5ec0c6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/crypto/proof.rs

+ 1 - 1
src/crypto/proof.rs

@@ -123,7 +123,7 @@ mod tests {
         let coin_blind = DrkCoinBlind::random(&mut OsRng);
         let public_key = PublicKey::random(&mut OsRng);
 
-        let pk = ProvingKey::build(11, MintContract::default());
+        let pk = ProvingKey::build(11, &MintContract::default());
         let (proof, _) = create_mint_proof(
             &pk,
             value,