fix missing error callback

This commit is contained in:
Jonathan Rainville 2018-06-06 15:22:15 -04:00
parent bfc8663a61
commit ac631f90dc
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ class DeployManager {
async.eachOfSeries(contracts,
function (contract, key, callback) {
contract._gasLimit = self.gasLimit;
self.events.request('deploy:contract', contract, () => {
callback();
self.events.request('deploy:contract', contract, (err) => {
callback(err);
});
},
function (err, _results) {