This commit is contained in:
Neil Alexander 2019-03-29 18:24:57 +00:00
parent f19a4e4398
commit 4c0c3a23cb
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
5 changed files with 13 additions and 13 deletions

View file

@ -86,7 +86,7 @@ func (t *dht) init(c *Core) {
e <- nil
}
}()
t.nodeID = *t.core.GetNodeID()
t.nodeID = *t.core.NodeID()
t.peers = make(chan *dhtInfo, 1024)
t.callbacks = make(map[dhtReqKey]dht_callbackInfo)
t.reset()