We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a411524 commit 24d6cbfCopy full SHA for 24d6cbf
simulation/wallets.js
@@ -300,10 +300,13 @@ function randomTransfer(wallet) {
300
liveWallets.push(i)
301
}
302
303
- const transferCount = Math.min(liveWallets.length, Math.ceil(walletBalances[wallet] / WALLET_TRANSFER_MAX))
+ const transferCount = Math.min(
304
+ liveWallets.length,
305
+ Math.ceil(walletBalances[wallet] / WALLET_TRANSFER_MAX)
306
+ )
307
const randomWallets = getRandomSample(liveWallets, transferCount)
308
const transferAmount = walletBalances[wallet] / transferCount
-
309
+
310
randomWallets.forEach((randomWallet) => {
311
log(
312
1,
0 commit comments