use of com.hedera.services.bdd.suites.utils.validation.domain.Node in project hedera-services by hashgraph.
the class ValidationScenarios method assertValidParams.
private static void assertValidParams() {
boolean exit = false;
if (!validationConfig.getNetworks().containsKey(params.getTargetNetwork())) {
log.error(String.format("No config present for network '%s', exiting.", params.getTargetNetwork()));
exit = true;
}
for (Node node : targetNetwork().getNodes()) {
nodeAccounts.add(String.format("0.0.%d", node.getAccount()));
}
if (exit) {
System.exit(1);
}
}
Aggregations