Skip to content

Commit d3e3d65

Browse files
authored
Update Node.java
1 parent 97a8fbb commit d3e3d65

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/java/org/tron/common/overlay/discover/node

1 file changed

+1
-1
lines changed

common/src/main/java/org/tron/common/overlay/discover/node/Node.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static Node instanceOf(String hostPort) {
5757

5858
public static byte[] getNodeId() {
5959
Random gen = new Random();
60-
byte[] id = new byte[KademliaOptions.NODE_ID_LEN];
60+
byte[] id = new byte[64];
6161
gen.nextBytes(id);
6262
return id;
6363
}

0 commit comments

Comments
 (0)