mirror of https://github.com/status-im/evmc.git
examples: Remove explicit namespace in rust-example-vm
This commit is contained in:
parent
1ca32bf17e
commit
80f99dfe6b
|
@ -19,9 +19,9 @@ extern "C" fn execute(
|
|||
let is_create = execution_ctx.get_message().kind == ffi::evmc_call_kind::EVMC_CREATE;
|
||||
|
||||
if is_create {
|
||||
evmc_vm::ExecutionResult::new(ffi::evmc_status_code::EVMC_FAILURE, 0, None).into()
|
||||
ExecutionResult::new(ffi::evmc_status_code::EVMC_FAILURE, 0, None).into()
|
||||
} else {
|
||||
evmc_vm::ExecutionResult::new(
|
||||
ExecutionResult::new(
|
||||
ffi::evmc_status_code::EVMC_SUCCESS,
|
||||
66,
|
||||
Some(vec![0xc0, 0xff, 0xee]),
|
||||
|
|
Loading…
Reference in New Issue