hotfix: callback with wrong parameter order

This commit is contained in:
Jonathan Rainville 2018-04-13 14:54:46 -04:00
parent 82726e07e1
commit 6647c31d38

View File

@ -39,7 +39,7 @@ class DeployManager {
self.events.emit('contractsDeployed', contractsManager); self.events.emit('contractsDeployed', contractsManager);
return done(); return done();
} }
return callback(contractsManager, null); return callback(null, contractsManager);
}, },
function checkWeb3IsConnected(contractsManager, callback) { function checkWeb3IsConnected(contractsManager, callback) {
if (!self.web3) { if (!self.web3) {