Skip to content

Commit

Permalink
add extra comment for domain in fast iterator
Browse files Browse the repository at this point in the history
Co-authored-by: Dev Ojha <[email protected]>
  • Loading branch information
p0mvn and ValarDragon committed Feb 11, 2022
1 parent 44b2571 commit 6489628
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fast_iterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func NewFastIterator(start, end []byte, ascending bool, ndb *nodeDB) *FastIterat
}

// Domain implements dbm.Iterator.
// Maps the underlying nodedb iterator domain, to the 'logical' keys involved.
func (iter *FastIterator) Domain() ([]byte, []byte) {
if iter.fastIterator == nil {
return iter.start, iter.end
Expand Down

0 comments on commit 6489628

Please sign in to comment.