Browse Source

拉取ethLp类型的

skyfffire 3 years ago
parent
commit
bd2af18aa1
1 changed files with 4 additions and 4 deletions
  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: any = []
+        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)