Skip to content

Cannot use function in arguments #335

@kroggen

Description

@kroggen

This line of code:

  result = contract.call.value(amount)(resolve(to_call), "test", 111, 222)

Generates this error:

[Contract.LuaCallContract] call err: 'resolve' is not payable

So instead of using the result from the resolve() function, it is using the function itself

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions