Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
~
Browse files Browse the repository at this point in the history
  • Loading branch information
smatthewenglish committed May 14, 2019
1 parent 62b45c2 commit 0727e0b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ public void verify(final Node node) {

assertThat(InetAddresses.isUriInetAddress(result.get("ws").get("host"))).isTrue();
final int wsPort = Integer.valueOf(result.get("ws").get("port"));
// TODO: explicitly set port
// TODO: Port should not be 0-valued
assertThat(NetworkUtility.isValidPort(wsPort) || wsPort == 0).isTrue();

assertThat(InetAddresses.isUriInetAddress(result.get("jsonrpc").get("host"))).isTrue();
final int jsonRpcPort = Integer.valueOf(result.get("jsonrpc").get("port"));
// TODO: explicitly set port
// TODO: Port should not be 0-valued
assertThat(NetworkUtility.isValidPort(jsonRpcPort) || jsonRpcPort == 0).isTrue();
}

Expand Down

0 comments on commit 0727e0b

Please sign in to comment.