Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Nov 30, 2022
1 parent 317f007 commit 0149e5b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions nodedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -772,11 +772,6 @@ func (ndb *nodeDB) traverseOrphans(fn func(keyWithPrefix, v []byte) error) error
return ndb.traversePrefix(orphanKeyFormat.Key(), fn)
}

// Traverse fast nodes and return error if any, nil otherwise
func (ndb *nodeDB) traverseFastNodes(fn func(k, v []byte) error) error {
return ndb.traversePrefix(fastKeyFormat.Key(), fn)
}

// Traverse orphans ending at a certain version. return error if any, nil otherwise
func (ndb *nodeDB) traverseOrphansVersion(version int64, fn func(k, v []byte) error) error {
return ndb.traversePrefix(orphanKeyFormat.Key(version), fn)
Expand Down

0 comments on commit 0149e5b

Please sign in to comment.