aergo icon indicating copy to clipboard operation
aergo copied to clipboard

Cannot use function in arguments

Open kroggen opened this issue 8 months ago • 1 comments

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

kroggen avatar Dec 14 '23 02:12 kroggen