Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integers in invoke should allow greater precision #119

Open
roadbuilder opened this issue Nov 20, 2021 · 0 comments
Open

Integers in invoke should allow greater precision #119

roadbuilder opened this issue Nov 20, 2021 · 0 comments

Comments

@roadbuilder
Copy link

When calling an invoke with an (integer), the precision seems to be limited to 19 digits. So if I have an 18 decimal NEP17 token and I want to invoke an amount greater than 9 of the tokens (which is 9,000,000,000,000,000,000), such as 100 SFI

image

it gets an error saying:
image

if I try and send less such as 9 tokens, it will go through without a problem.

also sending using the Neoline extension in javascript works fine and allows the full precision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant