fix callback name

This commit is contained in:
Iuri Matias 2018-01-18 14:46:53 -05:00
parent 70f72f494d
commit 992b8c19e7

View File

@ -184,7 +184,7 @@ class Deploy {
function getAccounts(next) { function getAccounts(next) {
self.web3.eth.getAccounts(function (err, _accounts) { self.web3.eth.getAccounts(function (err, _accounts) {
if (err) { if (err) {
return callback(new Error(err)); return next(new Error(err));
} }
accounts = _accounts; accounts = _accounts;
deploymentAccount = deploymentAccount || accounts[0]; deploymentAccount = deploymentAccount || accounts[0];