chore: lint v2 (#24118)

This commit is contained in:
Alex | Interchain Labs
2025-03-25 15:57:24 +00:00
committed by GitHub
parent 9acd7716dd
commit b7a20b81f6
87 changed files with 298 additions and 288 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ func (d LegacyDec) assertInValidRange() {
// IsInValidRange returns true when the value is between the upper limit of (2^256 * 10^18)
// and the lower limit of -1*(2^256 * 10^18).
func (d LegacyDec) IsInValidRange() bool {
return !(d.GT(upperLimit) || d.LT(lowerLimit))
return !d.GT(upperLimit) && !d.LT(lowerLimit)
}
// Mul multiplication