Skip to content

Commit

Permalink
Bug fix to nodes list
Browse files Browse the repository at this point in the history
  • Loading branch information
DrBrad committed May 22, 2024
1 parent 7be3861 commit 14c4812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unet/kad4/rpc/KRequestListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void onFindNodeRequest(RequestEvent event){
FindNodeResponse response = new FindNodeResponse(request.getTransactionID());
response.setDestination(event.getMessage().getOrigin());
response.setPublic(event.getMessage().getOrigin());
response.addNodes(getRoutingTable().findClosest(request.getTarget(), KBucket.MAX_BUCKET_SIZE));
response.addNodes(nodes);
event.setResponse(response);
}
}
Expand Down

0 comments on commit 14c4812

Please sign in to comment.