Remove obsolete flags

This commit is contained in:
haad 2016-03-03 13:06:13 +01:00
parent 1e152dc141
commit dbc4e29dc7

View File

@ -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) {