Skip to content

Commit

Permalink
make more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Nov 19, 2024
1 parent 364068b commit 64b66a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -748,5 +748,5 @@ function zigZagEncodeBigInt (n) {
}

function validateUint (n) {
if (!(n >= 0)) throw new Error('uint must be positive')
if ((n >= 0) === false) throw new Error('uint must be positive')
}

0 comments on commit 64b66a0

Please sign in to comment.