mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-05-22 14:56:38 +00:00
Remove obsolete flags
This commit is contained in:
parent
1e152dc141
commit
dbc4e29dc7
@ -103,7 +103,7 @@ class OrbitList extends List {
|
|||||||
return _findFrom(list, hash, amount, opts.gte || opts.lte).toArray();
|
return _findFrom(list, hash, amount, opts.gte || opts.lte).toArray();
|
||||||
|
|
||||||
// Lower than and lastN case, search latest first by reversing the sequence
|
// Lower than and lastN case, search latest first by reversing the sequence
|
||||||
return _findFrom(list.reverse(), hash, amount, opts.lte || opts.gte || (!opts.lt && !opts.gt)).reverse().toArray();
|
return _findFrom(list.reverse(), hash, amount, opts.lte || !opts.lt).reverse().toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
_isReferencedInChain(all, item) {
|
_isReferencedInChain(all, item) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user