From 7abdc9e0e6e25342efc62cad83e946f80f3f02ee Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Tue, 14 Aug 2018 14:05:21 -0400 Subject: [PATCH] set a limit funding --- lib/contracts/provider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/contracts/provider.js b/lib/contracts/provider.js index 59e128fb..dafe7920 100644 --- a/lib/contracts/provider.js +++ b/lib/contracts/provider.js @@ -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); }