mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
fix callback name
This commit is contained in:
parent
70f72f494d
commit
992b8c19e7
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user