From 0149e5bcd74742dc60bc588badecdf8e2090711a Mon Sep 17 00:00:00 2001 From: HuangYi Date: Wed, 30 Nov 2022 14:57:21 +0800 Subject: [PATCH] remove dead code --- nodedb.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nodedb.go b/nodedb.go index 1970463f8..e8770edb4 100644 --- a/nodedb.go +++ b/nodedb.go @@ -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)