set a limit funding

This commit is contained in:
Jonathan Rainville 2018-08-14 14:05:21 -04:00
parent e7e7b87881
commit 7abdc9e0e6

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