Explorar o código

crypto/proof: Fix test unit.

parazyd %!s(int64=4) %!d(string=hai) anos
pai
achega
f30d5ec0c6
Modificáronse 1 ficheiros con 1 adicións e 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,