Fix race condition in WebSocketService. (#1021)

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
Adrian Sutton 6 years ago committed by GitHub
parent 72e870cd5c
commit e923ddda65
  1. 2
      ethereum/jsonrpc/src/main/java/tech/pegasys/pantheon/ethereum/jsonrpc/websocket/WebSocketService.java

@ -181,7 +181,7 @@ public class WebSocketService {
LOG.info( LOG.info(
"Websocket service started and listening on {}:{}", "Websocket service started and listening on {}:{}",
configuration.getHost(), configuration.getHost(),
httpServer.actualPort()); res.result().actualPort());
resultFuture.complete(null); resultFuture.complete(null);
} else { } else {

Loading…
Cancel
Save