Fix solidity compilation

Issues introduced in rebase.
This commit is contained in:
emizzle 2018-10-01 15:11:38 +10:00 committed by Pascal Precht
parent b12856fe2d
commit 199aa18c07
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
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);