aergo
aergo copied to clipboard
Cannot use function in arguments
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