mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
get correct compiled code
This commit is contained in:
parent
fd46b0217d
commit
052c2de4b9
@ -50,7 +50,7 @@ Compiler.prototype.compile_solidity = function(contractFile) {
|
||||
var contract = json[className];
|
||||
|
||||
compiled_object[className] = {};
|
||||
compiled_object[className].code = contract.binary;
|
||||
compiled_object[className].code = contract.binary || contact.bin;
|
||||
compiled_object[className].info = {};
|
||||
compiled_object[className].info.abiDefinition = JSON.parse(contract["abi"] || contract["json-abi"]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user