We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d4e0fa commit 5df78a7Copy full SHA for 5df78a7
blssig/src/bdn/mod.rs
@@ -107,7 +107,7 @@ impl BDNAggregation {
107
bytes_32[..16].copy_from_slice(chunk);
108
109
// BLS12-381 scalars expects little-endian byte representation
110
- let scalar = Scalar::from_bytes_be(&bytes_32);
+ let scalar = Scalar::from_bytes_le(&bytes_32);
111
if scalar.is_some().into() {
112
coefficients.push(scalar.unwrap());
113
} else {
0 commit comments