Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeseung-bae committed May 13, 2024
1 parent 86a7860 commit d648caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/fswap/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit d648caa

Please sign in to comment.