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) {
self.web3.eth.getAccounts(function (err, _accounts) {
if (err) {
return callback(new Error(err));
return next(new Error(err));
}
accounts = _accounts;
deploymentAccount = deploymentAccount || accounts[0];