Skip to content

Bad error message on contract.call #148

@kroggen

Description

@kroggen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions