Skip to content

Commit

Permalink
Update rust
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Sep 28, 2019
1 parent 60bb643 commit 13915dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bindings/rust/evmc-vm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ impl Into<ffi::evmc_result> for ExecutionResult {
} else {
Address { bytes: [0u8; 20] }
},
padding: [0u8; 4],
scratchpad: ffi::evmc_result_scratchpad { bytes: [0u8; 32] },
}
}
}
Expand Down Expand Up @@ -550,7 +550,7 @@ mod tests {
output_size: 4,
release: Some(test_result_dispose),
create_address: Address { bytes: [0u8; 20] },
padding: [0u8; 4],
scratchpad: ffi::evmc_result_scratchpad { bytes: [0u8; 32] },
};

let r: ExecutionResult = f.into();
Expand Down Expand Up @@ -796,7 +796,7 @@ mod tests {
output_size: msg.input_size,
release: None,
create_address: ffi::evmc_address::default(),
padding: [0u8; 4],
scratchpad: ffi::evmc_result_scratchpad { bytes: [0u8; 32] },
}
}

Expand Down

0 comments on commit 13915dd

Please sign in to comment.