Skip to content

Commit d5dae76

Browse files
authored
Release 0.3.1 prep (#162)
* Bump deps and package version. Rebuild * Update chai
1 parent 2676e99 commit d5dae76

12 files changed

+369
-481
lines changed

build/browser.esm.js

+1
Original file line numberDiff line numberDiff line change
@@ -16242,6 +16242,7 @@ function buildMultiexp(curve, groupName) {
1624216242
}
1624316243

1624416244
const nPoints = Math.floor(buffBases.byteLength / sGIn);
16245+
if (nPoints == 0) return G.zero;
1624516246
const sScalar = Math.floor(buffScalars.byteLength / nPoints);
1624616247
if( sScalar * nPoints != buffScalars.byteLength) {
1624716248
throw new Error("Scalar size does not match");

build/main.cjs

+1
Original file line numberDiff line numberDiff line change
@@ -4973,6 +4973,7 @@ function buildMultiexp(curve, groupName) {
49734973
}
49744974

49754975
const nPoints = Math.floor(buffBases.byteLength / sGIn);
4976+
if (nPoints == 0) return G.zero;
49764977
const sScalar = Math.floor(buffScalars.byteLength / nPoints);
49774978
if( sScalar * nPoints != buffScalars.byteLength) {
49784979
throw new Error("Scalar size does not match");

0 commit comments

Comments
 (0)