mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-09 12:26:18 +00:00
set a limit funding
This commit is contained in:
parent
e7e7b87881
commit
7abdc9e0e6
@ -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