diff --git a/node/src/main/kotlin/com/r3corda/node/internal/AbstractNode.kt b/node/src/main/kotlin/com/r3corda/node/internal/AbstractNode.kt index 5463e08575..2b16592913 100644 --- a/node/src/main/kotlin/com/r3corda/node/internal/AbstractNode.kt +++ b/node/src/main/kotlin/com/r3corda/node/internal/AbstractNode.kt @@ -113,9 +113,9 @@ abstract class AbstractNode(val dir: Path, val configuration: NodeConfiguration, private set /** Completes once the node has successfully registered with the network map service */ - private val _networkMapRegistrationSettableFuture: SettableFuture = SettableFuture.create() + private val _networkMapRegistrationFuture: SettableFuture = SettableFuture.create() val networkMapRegistrationFuture: ListenableFuture - get() = _networkMapRegistrationSettableFuture + get() = _networkMapRegistrationFuture /** Set to true once [start] has been successfully called. */ @Volatile var started = false @@ -149,7 +149,7 @@ abstract class AbstractNode(val dir: Path, val configuration: NodeConfiguration, CashBalanceAsMetricsObserver(services) startMessagingService() - _networkMapRegistrationSettableFuture.setFuture(registerWithNetworkMap()) + _networkMapRegistrationFuture.setFuture(registerWithNetworkMap()) isPreviousCheckpointsPresent = checkpointStorage.checkpoints.any() smm.start() started = true