Przeglądaj źródła

crypto/proof: Fix test unit.

parazyd 4 lat temu
rodzic
commit
f30d5ec0c6
1 zmienionych plików z 1 dodań i 1 usunięć
  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,