mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
cleanup/fixes from go vet
This commit is contained in:
parent
12cc7fc639
commit
6d0e40045a
3 changed files with 2 additions and 6 deletions
|
@ -102,7 +102,6 @@ func (t *dht) insert(info *dhtInfo) {
|
|||
if *info.getNodeID() == t.nodeID {
|
||||
// This shouldn't happen, but don't add it if it does
|
||||
return
|
||||
panic("FIXME")
|
||||
}
|
||||
info.recv = time.Now()
|
||||
if oldInfo, isIn := t.table[*info.getNodeID()]; isIn {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue