mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-10-31 01:05:08 +03:00 
			
		
		
		
	cleanup
This commit is contained in:
		
							parent
							
								
									bb3ae8b39b
								
							
						
					
					
						commit
						0470f6f1c1
					
				
					 5 changed files with 1 additions and 80 deletions
				
			
		|  | @ -295,9 +295,6 @@ func (r *router) handleDHTReq(bs []byte, fromKey *boxPubKey) { | |||
| 	if !req.decode(bs) { | ||||
| 		return | ||||
| 	} | ||||
| 	//if req.key != *fromKey { | ||||
| 	//	return | ||||
| 	//} | ||||
| 	req.key = *fromKey | ||||
| 	r.core.dht.handleReq(&req) | ||||
| } | ||||
|  | @ -307,9 +304,6 @@ func (r *router) handleDHTRes(bs []byte, fromKey *boxPubKey) { | |||
| 	if !res.decode(bs) { | ||||
| 		return | ||||
| 	} | ||||
| 	//if res.key != *fromKey { | ||||
| 	//	return | ||||
| 	//} | ||||
| 	res.key = *fromKey | ||||
| 	r.core.dht.handleRes(&res) | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Arceliar
						Arceliar