swarm/storage: remove commented out code

This commit is contained in:
Anton Evangelatov 2018-04-03 17:26:34 +02:00
parent 1c3597f26a
commit c556410993
2 changed files with 0 additions and 5 deletions

View file

@ -78,10 +78,6 @@ func NewTestLocalStoreForAddr(path string, basekey []byte) (*LocalStore, error)
return localStore, nil
}
//func (self *LocalStore) CacheCounter() uint64 {
//return uint64(self.memStore.Counter())
//}
// LocalStore is itself a chunk store
// unsafe, in that the data is not integrity checked
func (self *LocalStore) Put(chunk *Chunk) {

View file

@ -260,7 +260,6 @@ func (s *MemStore) removeOldest() {
defer metrics.GetOrRegisterResettingTimer("memstore.purge", metrics.DefaultRegistry).UpdateSince(time.Now())
node := s.memtree
log.Warn("purge memstore")
for node.entry == nil {
aidx := uint(0)