hel 1 년 전
부모
커밋
27b564941b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/onchain/randomTask.ts

+ 2 - 2
src/onchain/randomTask.ts

@@ -81,7 +81,7 @@ async function startCheck(concurrency) {
         const bool = await client.stakeSingle()
 
         console.log(bool)
-        if (bool == `done`) {
+        if (bool) {
           await DBClient.instance.randomTask.update({
             where: { id: account.id },
             data: { task5: 1 },
@@ -108,4 +108,4 @@ async function startCheck(concurrency) {
   })
 }
 
-startCheck(100)
+startCheck(50)