hel 1 year ago
parent
commit
fcd6dab83f
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/onchain/week3/randomWeek3.ts

+ 5 - 0
src/onchain/week3/randomWeek3.ts

@@ -55,6 +55,11 @@ async function startCheck(concurrency) {
       const client = new InitiaClient(account.mnemonic, true)
       const client = new InitiaClient(account.mnemonic, true)
       const gasGot = await client.gasGot()
       const gasGot = await client.gasGot()
       if (!gasGot) {
       if (!gasGot) {
+        console.log()
+        await DBClient.instance.randomTask2.update({
+          where: { id: account.id },
+          data: { finish: -1 },
+        })
         return
         return
       }
       }
       if (randomPick === 1) {
       if (randomPick === 1) {