Update compiler.js

This commit is contained in:
VoR0220 2015-10-27 11:12:55 -05:00 committed by Iuri Matias
parent f5595adb43
commit b7c03ac06b
1 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ Compiler.prototype.compile_solidity = function(contractFiles) {
input[contractFiles[i].substring(14)] = fs.readFileSync(contractFiles[i]).toString();
}
var output = solc.compile({sources: input}, 1);
var json = output.contracts;
@ -35,7 +34,7 @@ Compiler.prototype.compile_solidity = function(contractFiles) {
compiled_object[className].info = {};
compiled_object[className].info.abiDefinition = JSON.parse(contract.interface);
}
//console.log(compiled_object);
return compiled_object;
};