Skip to content

Commit

Permalink
Merge pull request #324 from tronprotocol/p2p_handshark
Browse files Browse the repository at this point in the history
modify hello msg version return type
  • Loading branch information
olenheim authored Mar 29, 2018
2 parents 4cf343a + 90740a8 commit d7bcae9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public byte[] getData() {
* Get the version of p2p protocol.
*/
public int getVersion() {
return (byte) this.helloMessage.getVersion();
return this.helloMessage.getVersion();
}

/**
Expand Down

0 comments on commit d7bcae9

Please sign in to comment.