Use pasta_curves 0.3.0. (#15)

Co-authored-by: porcuquine <porcuquine@users.noreply.github.com>
This commit is contained in:
porcuquine
2022-02-15 15:10:11 -08:00
committed by GitHub
parent 5e5dd65abc
commit 853ab90f7c
2 changed files with 3 additions and 3 deletions

View File

@@ -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)
}
}