mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 11:15:07 +03:00 
			
		
		
		
	Fix DEBUG_getDHTSize
This commit is contained in:
		
							parent
							
								
									e553f3e013
								
							
						
					
					
						commit
						881d0a1ada
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue