This commit is contained in:
Arceliar 2018-02-23 13:04:52 -06:00
parent bb3ae8b39b
commit 0470f6f1c1
5 changed files with 1 additions and 80 deletions

View file

@ -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)
}