Fix solidity compilation

Issues introduced in rebase.
This commit is contained in:
emizzle 2018-10-01 15:11:38 +10:00
parent 6e543cb724
commit 0b983704ff
1 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ class Solidity {
});
}
compile_solidity_code(codeInputs, originalFilepaths, returnAllErrors, cb) {
compile_solidity_code(codeInputs, originalFilepaths, returnAllErrors, options = {}, cb) {
const self = this;
async.waterfall([
@ -147,7 +147,7 @@ class Solidity {
});
}
compile_solidity(contractFiles, cb) {
compile_solidity(contractFiles, options, cb) {
if (!contractFiles.length) {
return cb();
}
@ -183,7 +183,7 @@ class Solidity {
);
},
function compile(callback) {
self.compile_solidity_code(input, originalFilepath, false, callback);
self.compile_solidity_code(input, originalFilepath, false, options, callback);
}
], function (err, result) {
cb(err, result);