You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: cryptography/kzg_multi_open/src/opening_key.rs
+2
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,8 @@ impl OpeningKey {
44
44
// For all of our purposes and for any useful applications, this will be the case.
45
45
let g2_gen = g2s[0];
46
46
47
+
assert!(coset_size < g2s.len(),"The coset size must be less than the amount of g2 elements as the verifier needs to do a g2 msm of size `coset_size`");
0 commit comments