hel 1 năm trước cách đây
mục cha
commit
fcd6dab83f
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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 gasGot = await client.gasGot()
       if (!gasGot) {
+        console.log()
+        await DBClient.instance.randomTask2.update({
+          where: { id: account.id },
+          data: { finish: -1 },
+        })
         return
       }
       if (randomPick === 1) {