소스 검색

不再拉取ethLp类型的

skyfffire 3 년 전
부모
커밋
2751bb58fe
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      scripts/lp/lpMaintenance.ts

+ 4 - 4
scripts/lp/lpMaintenance.ts

@@ -220,10 +220,10 @@ export class LpMaintenance {
         const normalLpPullRst = await History.findByBlock('normalLp')
         if (!normalLpPullRst.state) continue
         const normalLpList = normalLpPullRst.data
-        const ethLpPullRst = await History.findByBlock('ethLp')
-        if (!ethLpPullRst.state) continue
-        const ethLpList = ethLpPullRst.data
-        // const ethLpList = []
+        // const ethLpPullRst = await History.findByBlock('ethLp')
+        // if (!ethLpPullRst.state) continue
+        // const ethLpList = ethLpPullRst.data
+        const ethLpList: any = []
 
         const allTypeLpList: any = topLpList.concat(lpList).concat(normalLpList).concat(ethLpList)
         const lpAddressList: any = this.generateAddressListByLpList(allTypeLpList)