Use bytes to Hex

This commit is contained in:
Anthony Laibe 2018-08-21 12:18:59 +01:00
parent bf116f5165
commit 037c27258a
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class Compiler {
compiled_object[className] = {};
compiled_object[className].runtimeBytecode = byteCode;
compiled_object[className].realRuntimeBytecode = byteCode;
compiled_object[className].code = Web3Utils.toHex(byteCode);
compiled_object[className].code = Web3Utils.bytesToHex(byteCode);
compiled_object[className].abiDefinition = AbiDefinition;
compiled_object[className].filename = file.filename;
fileCb();