Skip to content

Commit 2501218

Browse files
authored
Merge pull request #705 from embark-framework/bug_fix/funding
set async limit funding
2 parents e3a48fd + 7abdc9e commit 2501218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/contracts/provider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Provider {
7878
if (!self.isDev) {
7979
return callback();
8080
}
81-
async.each(self.accounts, (account, eachCb) => {
81+
async.eachLimit(self.accounts, 1, (account, eachCb) => {
8282
fundAccount(self.web3, account.address, account.hexBalance, eachCb);
8383
}, callback);
8484
}

0 commit comments

Comments
 (0)