examples: make sure to set call_kind

This commit is contained in:
Alex Beregszaszi 2019-08-08 21:36:39 +02:00
parent 9c5c2a106e
commit e2ebfbae77
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ int main(int argc, char* argv[])
tx_context.block_gas_limit = gas * 2;
struct evmc_context* ctx = example_host_create_context(tx_context);
struct evmc_message msg;
msg.kind = EVMC_CALL;
msg.sender = addr;
msg.destination = addr;
msg.value = value;