Skip to content

Commit

Permalink
Changes to requirements for UID
Browse files Browse the repository at this point in the history
  • Loading branch information
DrBrad committed May 25, 2024
1 parent ac68c49 commit 2ea2c9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified out/production/Kad4/unet/kad4/kad/Server.class
Binary file not shown.
2 changes: 1 addition & 1 deletion src/unet/kad4/kad/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public void send(MessageBase message)throws IOException {
throw new IllegalArgumentException("Message destination set to bogon");
}

if(message.getUID() == null && message.getType() != MessageType.ERR_MSG){
if(message.getType() != MessageType.ERR_MSG){
message.setUID(kademlia.getRoutingTable().getDerivedUID());
}

Expand Down

0 comments on commit 2ea2c9d

Please sign in to comment.