mirror of
https://github.com/arnaucube/Nova.git
synced 2026-01-11 16:41:28 +01:00
Use pasta_curves 0.3.0. (#15)
Co-authored-by: porcuquine <porcuquine@users.noreply.github.com>
This commit is contained in:
@@ -62,8 +62,8 @@ impl PrimeField for pallas::Scalar {
|
||||
}
|
||||
}
|
||||
|
||||
fn random(_rng: &mut (impl RngCore + CryptoRng)) -> Self {
|
||||
Fq::rand()
|
||||
fn random(rng: &mut (impl RngCore + CryptoRng)) -> Self {
|
||||
<Fq as ff::Field>::random(rng)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user