Prechádzať zdrojové kódy

不再拉取ethLp类型的

skyfffire 3 rokov pred
rodič
commit
2751bb58fe
1 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  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)