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

Bad error message on contract.call #148

Open
kroggen opened this issue Jan 31, 2022 · 1 comment
Open

Bad error message on contract.call #148

kroggen opened this issue Jan 31, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@kroggen
Copy link
Member

kroggen commented Jan 31, 2022

This line has a nil in the first argument:

local value = contract.call(nil, "get_value")

It fails with this error:

bad argument #2 to 'call' (string expected, got nil)
             /\

It should be #1 instead of #2

@kroggen kroggen added the bug Something isn't working label Mar 14, 2022
@kroggen
Copy link
Member Author

kroggen commented Jun 24, 2022

Probably related to this line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant