examples: Remove explicit namespace in rust-example-vm

This commit is contained in:
Alex Beregszaszi 2019-05-22 17:30:14 +01:00
parent 1ca32bf17e
commit 80f99dfe6b
1 changed files with 2 additions and 2 deletions

View File

@ -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]),