From e70eae3e7a60daf2b6b53b49b29fce2a95df5de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Sun, 28 Aug 2016 16:00:04 +0200 Subject: [PATCH] EVM-C: evm_prepare_code(): move code_hash parameter before code parameter --- include/evm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/evm.h b/include/evm.h index 598e965..7bf37b2 100644 --- a/include/evm.h +++ b/include/evm.h @@ -371,9 +371,9 @@ typedef enum evm_code_status /// JIT-like VMs. typedef void (*evm_prepare_code_fn)(struct evm_instance* instance, enum evm_mode mode, + struct evm_hash256 code_hash, uint8_t const* code, - size_t code_size, - struct evm_hash256 code_hash); + size_t code_size); /// VM interface. ///