Skip to content
Snippets Groups Projects
Commit f0dbc787 authored by Jono Wenger's avatar Jono Wenger
Browse files

Remove comment

parent fb650013
Branches
Tags
2 merge requests!67Release,!55fully implemented trial hashing of identity fingerprints. Needs tests.
...@@ -159,12 +159,6 @@ func (s *Store) AddUpdateCallback(identity *id.ID, luCB ListUpdateCallBack) { ...@@ -159,12 +159,6 @@ func (s *Store) AddUpdateCallback(identity *id.ID, luCB ListUpdateCallBack) {
s.mux.Lock() s.mux.Lock()
defer s.mux.Unlock() defer s.mux.Unlock()
// list, exists := s.callbacks[*identity]
// if !exists {
// list = make([]ListUpdateCallBack, 0, 1)
// }
//
// s.callbacks[*identity] = append(list, luCB)
s.callbacks[*identity] = append(s.callbacks[*identity], luCB) s.callbacks[*identity] = append(s.callbacks[*identity], luCB)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment