Merge pull request #705 from embark-framework/bug_fix/funding
set async limit funding
This commit is contained in:
commit
25012184d3
|
@ -78,7 +78,7 @@ class Provider {
|
|||
if (!self.isDev) {
|
||||
return callback();
|
||||
}
|
||||
async.each(self.accounts, (account, eachCb) => {
|
||||
async.eachLimit(self.accounts, 1, (account, eachCb) => {
|
||||
fundAccount(self.web3, account.address, account.hexBalance, eachCb);
|
||||
}, callback);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue