diff --git a/packages/oraiswap-v3/package.json b/packages/oraiswap-v3/package.json index 6b3b9841..ef5c4c6a 100644 --- a/packages/oraiswap-v3/package.json +++ b/packages/oraiswap-v3/package.json @@ -1,6 +1,6 @@ { "name": "@oraichain/oraiswap-v3", - "version": "1.1.1", + "version": "1.1.2", "main": "build/index.js", "files": [ "build/" diff --git a/packages/oraiswap-v3/src/zap-consumer.ts b/packages/oraiswap-v3/src/zap-consumer.ts index e29223b8..8a9a8edc 100644 --- a/packages/oraiswap-v3/src/zap-consumer.ts +++ b/packages/oraiswap-v3/src/zap-consumer.ts @@ -315,7 +315,7 @@ export class ZapConsumer { zapInResult.tickUpperIndex = upperTick; // if the position is out range, call @processZapInWithSingleSide - if (lowerTick >= pool.pool.current_tick_index || upperTick < pool.pool.current_tick_index) { + if (lowerTick > pool.pool.current_tick_index || upperTick <= pool.pool.current_tick_index) { console.log("Position is out of range"); const zapInSingleSideResult = await this.processZapInWithSingleSide({ poolKey: pool.pool_key,