Skip to content

Commit e873d3a

Browse files
committed
chore: remove comments
1 parent 7029867 commit e873d3a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pool/pool.gno

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,6 @@ func DrySwap(
447447
) (bigint, bigint, bool) {
448448

449449
if amountSpecified == 0 {
450-
println("# 1")
451450
return 0, 0, false
452451
}
453452

@@ -456,12 +455,10 @@ func DrySwap(
456455

457456
if zeroForOne {
458457
if !(sqrtPriceLimitX96 < slot0Start.sqrtPriceX96 && sqrtPriceLimitX96 > MIN_SQRT_RATIO) {
459-
println("# 2")
460458
return 0, 0, false
461459
}
462460
} else {
463461
if !(sqrtPriceLimitX96 > slot0Start.sqrtPriceX96 && sqrtPriceLimitX96 < MAX_SQRT_RATIO) {
464-
println("# 3")
465462
return 0, 0, false
466463
}
467464
}
@@ -618,21 +615,18 @@ func DrySwap(
618615
if zeroForOne {
619616
if !(pool.balances.token1 >= absBigint(amount1)) {
620617
// NOT ENOUGH BALANCE for output token1
621-
println("# 4")
622618
return 0, 0, false
623619
}
624620

625621
} else {
626622
if !(pool.balances.token0 >= absBigint(amount0)) {
627623
// NOT ENOUGH BALANCE for output token0
628-
println("# 5")
629624
return 0, 0, false
630625
}
631626
}
632627

633628
// just not enough balance
634629
if amount0 == 0 && amount1 == 0 {
635-
println("# 6")
636630
return 0, 0, false
637631
}
638632

0 commit comments

Comments
 (0)