Merge pull request #705 from embark-framework/bug_fix/funding

set async limit funding
This commit is contained in:
Iuri Matias 2018-08-14 17:03:06 -04:00 committed by GitHub
commit 25012184d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}