skyfffire 3 жил өмнө
parent
commit
d422b4346a

+ 2 - 2
scripts/lp/lpGenerate.ts

@@ -262,9 +262,9 @@ export class LpGenerate {
         if (haveNewLp) {
           logger.debug(`Router address: ${routerObj.router}`)
           if (routerObj.type === 'univ2') {
-            logger.debug(`factory: ${factoryAddress}, ${position + 1} / ${pairsLength}.`)
+            logger.debug(`factory: ${factoryAddress}, ${position} / ${pairsLength}.`)
           } else {
-            logger.debug(`position: ${routerObj.position}, ${position + 1} / ${pairsLength}.`)
+            logger.debug(`position: ${routerObj.position}, ${position} / ${pairsLength}.`)
           }
         }