Skip to content

Commit

Permalink
Commit prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Duddino committed Dec 12, 2024
1 parent c1febbd commit 3d1d6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/encoding.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export function numToByteArray(num) {
export function bytesToNum(bytes) {
let result = 0n;
for (let i = 0n; i < BigInt(bytes.length); i++) {
result += BigInt(bytes[i]) * (256n ** i);
result += BigInt(bytes[i]) * 256n ** i;
}
return result;
}
Expand Down

0 comments on commit 3d1d6b6

Please sign in to comment.