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

Skip to content
Snippets Groups Projects
Commit 919a97d4 authored by dev's avatar dev
Browse files

really fixed #49 now.. use Context->routerHash instead of calculating it everyt time

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