Skip to content

Commit

Permalink
fixed typo in rangeCheck16 error message
Browse files Browse the repository at this point in the history
  • Loading branch information
querolita committed Nov 25, 2024
1 parent a0f0f34 commit b2d62a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/provable/gadgets/range-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ function rangeCheck16(x: Field) {
if (x.isConstant()) {
assert(
x.toBigInt() < 1n << 16n,
`rangeCheck16: expected field to fit in 8 bits, got ${x}`
`rangeCheck16: expected field to fit in 16 bits, got ${x}`
);
return;
}
Expand Down

0 comments on commit b2d62a4

Please sign in to comment.