|
@@ -220,10 +220,10 @@ export class LpMaintenance {
|
|
|
const normalLpPullRst = await History.findByBlock('normalLp')
|
|
const normalLpPullRst = await History.findByBlock('normalLp')
|
|
|
if (!normalLpPullRst.state) continue
|
|
if (!normalLpPullRst.state) continue
|
|
|
const normalLpList = normalLpPullRst.data
|
|
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 = topLpList.concat(lpList).concat(normalLpList).concat(ethLpList)
|
|
|
const lpAddressList: any = this.generateAddressListByLpList(allTypeLpList)
|
|
const lpAddressList: any = this.generateAddressListByLpList(allTypeLpList)
|