소스 검색

allTypeLpList.length

skyfffire 3 년 전
부모
커밋
b0358190a5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scripts/lp/lpMaintenance.ts

+ 1 - 1
scripts/lp/lpMaintenance.ts

@@ -117,7 +117,7 @@ export class LpMaintenance {
       // 集中拉取r0,r1并更新本地的
       const size = 2000
       for (let from = 0; from < allTypeLpList.length; from += size) {
-        logger.debug(`${from}, ${allTypeLpList}`)
+        logger.debug(`${from}, ${allTypeLpList.length}`)
         const lpR0R1Info: any = await v2ToolBy410.methods.getPairSBalance(lpAddressList.slice(from, from + size)).call()
         const r0s = lpR0R1Info.amounts0
         const r1s = lpR0R1Info.amounts1