We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe26b2f commit aad3c67Copy full SHA for aad3c67
p2p/discv5/net.go
@@ -800,7 +800,7 @@ func (n *nodeNetGuts) startNextQuery(net *Network) {
800
func (q *findnodeQuery) start(net *Network) bool {
801
// Satisfy queries against the local node directly.
802
if q.remote == net.tab.self {
803
- closest := net.tab.closest(crypto.Keccak256Hash(q.target[:]), bucketSize)
+ closest := net.tab.closest(q.target, bucketSize)
804
q.reply <- closest.entries
805
return true
806
}
0 commit comments