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

Commit

Permalink
Fix error message text
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaxter committed Apr 26, 2019
1 parent e87698d commit 35bcda3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ public void start() {
}
} else {
throw new IllegalStateException(
"NettyP2PNetwork permissioning needs to listen to BlockAddedEvents. Blockchain can't be null.");
"Network permissioning needs to listen to BlockAddedEvents. Blockchain can't be null.");
}
}

Expand Down Expand Up @@ -760,7 +760,7 @@ private void validate() {
checkState(metricsSystem != null, "MetricsSystem must be set.");
checkState(
!nodePermissioningController.isPresent() || blockchain != null,
"NettyP2PNetwork permissioning needs to listen to BlockAddedEvents. Blockchain can't be null.");
"Network permissioning needs to listen to BlockAddedEvents. Blockchain can't be null.");
checkState(vertx != null, "Vertx must be set.");
checkState(
nodeLocalConfigPermissioningController != null,
Expand Down

0 comments on commit 35bcda3

Please sign in to comment.