mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-17 09:46:37 +00:00
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) {
|
if (!self.isDev) {
|
||||||
return callback();
|
return callback();
|
||||||
}
|
}
|
||||||
async.each(self.accounts, (account, eachCb) => {
|
async.eachLimit(self.accounts, 1, (account, eachCb) => {
|
||||||
fundAccount(self.web3, account.address, account.hexBalance, eachCb);
|
fundAccount(self.web3, account.address, account.hexBalance, eachCb);
|
||||||
}, callback);
|
}, callback);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user