瀏覽代碼

不再拉取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)