fix embarassing typo

This commit is contained in:
Iuri Matias 2015-09-15 09:02:43 -04:00
parent b383c24496
commit 92ca694d35

View File

@ -50,7 +50,7 @@ Compiler.prototype.compile_solidity = function(contractFile) {
var contract = json[className];
compiled_object[className] = {};
compiled_object[className].code = contract.binary || contact.bin;
compiled_object[className].code = contract.binary || contract.bin;
compiled_object[className].info = {};
compiled_object[className].info.abiDefinition = JSON.parse(contract["abi"] || contract["json-abi"]);
}