Update compiler.js
This commit is contained in:
parent
f5595adb43
commit
b7c03ac06b
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue