I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 61216b63 authored by dev's avatar dev
Browse files

fixed #49: missing calculateHash()

parent e065d2b0
No related branches found
No related tags found
No related merge requests found
......@@ -151,8 +151,8 @@ public class HandleDatabaseLookupMessageJob extends JobImpl {
if ( (info.getIdentity().isHidden()) || (isUnreachable(info) && !publishUnreachable()) ) {
if (_log.shouldLog(Log.DEBUG))
_log.debug("Not answering a query for a netDb peer who isn't reachable");
Set us = new HashSet(1);
us.add(getContext().router().getRouterInfo());
Set<Hash> us = new HashSet<Hash>(1);
us.add(getContext().router().getRouterInfo().calculateHash());
sendClosest(_message.getSearchKey(), us, fromKey, _message.getReplyTunnel());
//} else if (info.isHidden()) {
// // Don't return hidden nodes
......
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