Shawn Lu 1 سال پیش
والد
کامیت
8c990ac3c2
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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
         account.xrpPrivateKey = xrpl.Wallet.generate().seed
       if (!account.duid) account.duid = uuidv4().toUpperCase()
       if (!account.duid) account.duid = uuidv4().toUpperCase()
       await polly()
       await polly()
-        .waitAndRetry([10000, 20000])
+        .waitAndRetry(2)
         .executeForPromise(async () => {
         .executeForPromise(async () => {
           const key = new MnemonicKey({ mnemonic: account.mnemonic })
           const key = new MnemonicKey({ mnemonic: account.mnemonic })
           const evmWallet = new ethers.Wallet(key.privateKey.toString('hex'))
           const evmWallet = new ethers.Wallet(key.privateKey.toString('hex'))
@@ -127,7 +127,7 @@ async function faucetLunch(concurrency: number = 8) {
           const airdropResp = await client.post(
           const airdropResp = await client.post(
             'https://api.lunchlunch.xyz/v1/dish/submit-action/airdrop',
             'https://api.lunchlunch.xyz/v1/dish/submit-action/airdrop',
             {
             {
-              dishId: 42,
+              dishId: 43,
             },
             },
           )
           )
           console.log(`${index}: airdrop done`)
           console.log(`${index}: airdrop done`)