Fix warning in test.

This commit is contained in:
Sean Bowe 2020-09-13 10:23:04 -06:00
parent fd350a28a0
commit 5ec820f8fd
No known key found for this signature in database
GPG key ID: 95684257D8F8B031

View file

@ -443,6 +443,7 @@ fn test_opening_proof() {
// Test use_g()
let g = guard.compute_g();
let (msm_g, _accumulator) = guard.clone().use_g(g);
assert!(msm_g.is_zero());
}
// Check another proof to populate `msm.g_scalars`
@ -458,7 +459,6 @@ fn test_opening_proof() {
// Test use_g()
let g = guard.compute_g();
let (msm_g, _accumulator) = guard.clone().use_g(g);
assert!(msm_g.is_zero());
break;