Fix build of CAPI example

This commit is contained in:
Paweł Bylica 2016-07-20 13:31:09 +02:00
parent a7bfe3d201
commit 8684f22c43
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ void example() {
char const code[] = "exec()";
struct evm_bytes_view code_view = {code, sizeof(code)};
struct evm_hash256 code_hash = {{1, 2, 3}};
struct evm_hash256 code_hash = {.words = {1, 2, 3}};
struct evm_bytes_view input = {"Hello World!", 12};
struct evm_uint256 value = {{1, 0, 0, 0}};