Skip to content

Commit d7bcae9

Browse files
authored
Merge pull request #324 from tronprotocol/p2p_handshark
modify hello msg version return type
2 parents 4cf343a + 90740a8 commit d7bcae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/tron/common/overlay/message/HelloMessage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public byte[] getData() {
6868
* Get the version of p2p protocol.
6969
*/
7070
public int getVersion() {
71-
return (byte) this.helloMessage.getVersion();
71+
return this.helloMessage.getVersion();
7272
}
7373

7474
/**

0 commit comments

Comments
 (0)