mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-07-11 13:06:29 +00:00
Fix bugs
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user