Browse Source

监听ethLp

龚成明 3 năm trước cách đây
mục cha
commit
6871b48f70
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      scripts/lp/lpMaintenance.ts

+ 4 - 4
scripts/lp/lpMaintenance.ts

@@ -270,10 +270,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 allTypeLpList: any = [].concat(normalLpList).concat(ethLpList)