mirror of
https://github.com/yggdrasil-network/yggdrasil-go
synced 2024-11-10 15:30:34 +03: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