mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-26 04:51:38 +00:00
Fix DEBUG_getDHTSize
This commit is contained in:
parent
e553f3e013
commit
881d0a1ada
@ -259,7 +259,7 @@ func DEBUG_wire_encode_coords(coords []byte) []byte {
|
||||
|
||||
func (c *Core) DEBUG_getDHTSize() int {
|
||||
var total int
|
||||
phony.Block(c.router, func() {
|
||||
phony.Block(&c.router, func() {
|
||||
total = len(c.router.dht.table)
|
||||
})
|
||||
return total
|
||||
|
Loading…
Reference in New Issue
Block a user