Use bytes to Hex
This commit is contained in:
parent
bf116f5165
commit
037c27258a
|
@ -58,7 +58,7 @@ class Compiler {
|
||||||
compiled_object[className] = {};
|
compiled_object[className] = {};
|
||||||
compiled_object[className].runtimeBytecode = byteCode;
|
compiled_object[className].runtimeBytecode = byteCode;
|
||||||
compiled_object[className].realRuntimeBytecode = 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].abiDefinition = AbiDefinition;
|
||||||
compiled_object[className].filename = file.filename;
|
compiled_object[className].filename = file.filename;
|
||||||
fileCb();
|
fileCb();
|
||||||
|
|
Loading…
Reference in New Issue