mirror of https://github.com/status-im/evmc.git
examples: make sure to set call_kind
This commit is contained in:
parent
9c5c2a106e
commit
e2ebfbae77
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue