mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Fix bugs
This commit is contained in:
parent
f19a4e4398
commit
4c0c3a23cb
5 changed files with 13 additions and 13 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue