good morning!!!!

Skip to content
Snippets Groups Projects
Commit aad3c67a authored by yahtoo's avatar yahtoo Committed by Felix Lange
Browse files

p2p/discv5: don't hash findnode target in lookup against table (#18309)

parent fe26b2f3
No related branches found
No related tags found
No related merge requests found
......@@ -800,7 +800,7 @@ func (n *nodeNetGuts) startNextQuery(net *Network) {
func (q *findnodeQuery) start(net *Network) bool {
// Satisfy queries against the local node directly.
if q.remote == net.tab.self {
closest := net.tab.closest(crypto.Keccak256Hash(q.target[:]), bucketSize)
closest := net.tab.closest(q.target, bucketSize)
q.reply <- closest.entries
return true
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment