Remove junk code

This commit is contained in:
Julian Kornberger 2016-07-13 23:39:01 +02:00
parent 285bb84870
commit 8a99cb2bd7
1 changed files with 1 additions and 5 deletions

View File

@ -97,10 +97,6 @@ func onReceive(addr net.UDPAddr, res *data.ResponseData) {
nodes.Update(nodeId, res) nodes.Update(nodeId, res)
if val := res.Statistics; val != nil && statsDb != nil { if val := res.Statistics; val != nil && statsDb != nil {
if node := res.NodeInfo; val != nil && statsDb != nil { statsDb.Add(val, res.NodeInfo)
statsDb.Add(val, node)
} else {
statsDb.Add(val, nil)
}
} }
} }