Skip to content

Commit

Permalink
Merge pull request #50 from smartcontractkit/FUN-1159-fix-error-message
Browse files Browse the repository at this point in the history
  • Loading branch information
KuphJr authored Dec 18, 2023
2 parents f0192ee + 514234d commit 07924af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulateScript/deno-sandbox/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ const Functions = {
}
if (typeof num === 'number') {
if (!Number.isInteger(num)) {
throw new Error('input into Functions.encodeUint256 is not an integer')
throw new Error('input into Functions.encodeInt256 is not an integer')
}
}
num = BigInt(num)
Expand Down

0 comments on commit 07924af

Please sign in to comment.