range bounds fixup

This commit is contained in:
Christian Schwarz 2020-04-05 20:57:34 +02:00
parent 1fc4e62128
commit 2c15db9cfe

View File

@ -366,8 +366,6 @@ func (r *CreateTXGRange) effectiveBounds() (bounds effectiveBounds, err error) {
if !bounds.sinceUnbounded && !bounds.untilUnbounded {
if bounds.sinceInclusive >= bounds.untilInclusive {
return bounds, errors.Errorf("effective range bounds are [%v,%v] which is empty or invalid", bounds.sinceInclusive, bounds.untilInclusive)
} else {
// OK, not empty, fallthrough
}
// fallthrough
}