mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	
						commit
						45810fa184
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -260,7 +260,9 @@ func (t *dht) handleRes(res *dhtRes) {
 | 
				
			||||||
		key:    res.Key,
 | 
							key:    res.Key,
 | 
				
			||||||
		coords: res.Coords,
 | 
							coords: res.Coords,
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						if t.isImportant(&rinfo) {
 | 
				
			||||||
		t.insert(&rinfo)
 | 
							t.insert(&rinfo)
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
	for _, info := range res.Infos {
 | 
						for _, info := range res.Infos {
 | 
				
			||||||
		if *info.getNodeID() == t.nodeID {
 | 
							if *info.getNodeID() == t.nodeID {
 | 
				
			||||||
			continue
 | 
								continue
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue