Shawn Lu 1 an în urmă
părinte
comite
839b721684
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/faucet/faucet.ts

+ 2 - 2
src/faucet/faucet.ts

@@ -82,7 +82,7 @@ async function faucetLunch(concurrency: number = 8) {
         account.xrpPrivateKey = xrpl.Wallet.generate().seed
       if (!account.duid) account.duid = uuidv4().toUpperCase()
       await polly()
-        .waitAndRetry(2)
+        .waitAndRetry([10000, 20000])
         .executeForPromise(async () => {
           const key = new MnemonicKey({ mnemonic: account.mnemonic })
           const evmWallet = new ethers.Wallet(key.privateKey.toString('hex'))
@@ -159,4 +159,4 @@ async function faucetLunch(concurrency: number = 8) {
   })
 }
 
-await faucetLunch(50)
+await faucetLunch(25)