mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-02 17:06:00 +00:00
Bugfix in prevMissing.
This commit is contained in:
@@ -83,7 +83,7 @@ uint32 RangeSet::prevMissing (uint32 v) const
|
||||
if (contains (it, v))
|
||||
return it.first - 1;
|
||||
|
||||
if (it.first > v)
|
||||
if (it.first > (v + 1))
|
||||
return v + 1;
|
||||
}
|
||||
return RangeSetAbsent;
|
||||
|
||||
Reference in New Issue
Block a user