diff --git a/x/fswap/keeper/keeper.go b/x/fswap/keeper/keeper.go index 6b153150a1..7686c3af5d 100644 --- a/x/fswap/keeper/keeper.go +++ b/x/fswap/keeper/keeper.go @@ -319,7 +319,7 @@ func (k Keeper) increaseSwapCount(ctx sdk.Context) error { } prev := stats.SwapCount - stats.SwapCount += 1 + stats.SwapCount++ if stats.SwapCount < prev { return types.ErrInvalidState.Wrap("overflow detected") }