mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	use a buffered channel to avoid races, and run gofmt
This commit is contained in:
		
							parent
							
								
									d253bb750c
								
							
						
					
					
						commit
						a34ca40594
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -738,7 +738,7 @@ func (a *admin) admin_dhtPing(keyString, coordString, targetString string) (dhtR
 | 
			
		|||
			coords = append(coords, uint8(u64))
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	resCh := make(chan *dhtRes)
 | 
			
		||||
	resCh := make(chan *dhtRes, 1)
 | 
			
		||||
	info := dhtInfo{
 | 
			
		||||
		key:    key,
 | 
			
		||||
		coords: coords,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue