diff --git a/besu/src/main/java/org/hyperledger/besu/Runner.java b/besu/src/main/java/org/hyperledger/besu/Runner.java index f298611ad7c..d0a2b80f90c 100644 --- a/besu/src/main/java/org/hyperledger/besu/Runner.java +++ b/besu/src/main/java/org/hyperledger/besu/Runner.java @@ -108,7 +108,7 @@ public void start() { besuController.getTransactionPool().getPendingTransactions().evictOldTransactions()); jsonRpc.ifPresent(service -> waitForServiceToStart("jsonRpc", service.start())); graphQLHttp.ifPresent(service -> waitForServiceToStart("graphQLHttp", service.start())); - websocketRpc.ifPresent(service -> waitForServiceToStop("websocketRpc", service.start())); + websocketRpc.ifPresent(service -> waitForServiceToStart("websocketRpc", service.start())); metrics.ifPresent(service -> waitForServiceToStart("metrics", service.start())); LOG.info("Ethereum main loop is up."); writeBesuPortsToFile();