Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
deleterium committed May 5, 2022
1 parent d457a52 commit f1a56f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion out/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class utils {
inSuperRegister += (1n << 256n);
}
for (let i = 0; i < 4; i++) {
ret.push(inSuperRegister % 18446744073709551616n);
ret[i] = inSuperRegister % 18446744073709551616n;
inSuperRegister >>= 64n;
}
return ret;
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class utils {
inSuperRegister += (1n << 256n)
}
for (let i = 0; i < 4; i++) {
ret.push(inSuperRegister % 18446744073709551616n)
ret[i] = inSuperRegister % 18446744073709551616n
inSuperRegister >>= 64n
}
return ret
Expand Down

0 comments on commit f1a56f9

Please sign in to comment.