mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-04 20:03:39 +00:00
Fix warning in test.
This commit is contained in:
parent
fd350a28a0
commit
5ec820f8fd
1 changed files with 1 additions and 1 deletions
|
|
@ -443,6 +443,7 @@ fn test_opening_proof() {
|
||||||
// Test use_g()
|
// Test use_g()
|
||||||
let g = guard.compute_g();
|
let g = guard.compute_g();
|
||||||
let (msm_g, _accumulator) = guard.clone().use_g(g);
|
let (msm_g, _accumulator) = guard.clone().use_g(g);
|
||||||
|
assert!(msm_g.is_zero());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check another proof to populate `msm.g_scalars`
|
// Check another proof to populate `msm.g_scalars`
|
||||||
|
|
@ -458,7 +459,6 @@ fn test_opening_proof() {
|
||||||
// Test use_g()
|
// Test use_g()
|
||||||
let g = guard.compute_g();
|
let g = guard.compute_g();
|
||||||
let (msm_g, _accumulator) = guard.clone().use_g(g);
|
let (msm_g, _accumulator) = guard.clone().use_g(g);
|
||||||
|
|
||||||
assert!(msm_g.is_zero());
|
assert!(msm_g.is_zero());
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue