diff --git a/src/misc.js b/src/misc.js index 87ba8d85..181069e7 100644 --- a/src/misc.js +++ b/src/misc.js @@ -73,7 +73,7 @@ export function formatHash(b, title) { export function hashToHex(b) { const a = new DataView(b.buffer, b.byteOffset, b.byteLength); let S = ""; - for (let i=0; i<16; i++) { + for (let i=0; i1) throw new Error(fd.fileName +": File has more than one contributions section"); @@ -239,7 +232,7 @@ export async function readContributions(fd, curve, sections, formatted = false) const nContributions = await fd.readULE32(); const contributions = []; for (let i=0; i