Skip to content

Commit

Permalink
Merge pull request #160 from jwasinger/evm-fix
Browse files Browse the repository at this point in the history
Fix issue with EVM bytecode mangling
  • Loading branch information
axic authored Mar 14, 2018
2 parents f045242 + 43636ab commit c4641d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ vector<uint8_t> evm2wasm_js(vector<uint8_t> const& input) {
ofstream os;
os.open(fileEVM);
// print as a hex sting
os << hex;
os << setfill('0') << setw(2) << hex;
for (uint8_t byte: input)
os << static_cast<int>(byte);
os.close();
Expand Down

0 comments on commit c4641d4

Please sign in to comment.