mirror of
https://github.com/corda/corda.git
synced 2025-02-10 12:51:37 +00:00
Fix order of initialization
This commit is contained in:
parent
19be27036e
commit
41496c9d89
@ -2,7 +2,7 @@
|
|||||||
# because some versions here need to be matched by app authors in
|
# because some versions here need to be matched by app authors in
|
||||||
# their own projects. So don't get fancy with syntax!
|
# their own projects. So don't get fancy with syntax!
|
||||||
|
|
||||||
cordaVersion=4.8.5.11-CONCLAVE-SNAPSHOT
|
cordaVersion=4.8.5.12-CONCLAVE-SNAPSHOT
|
||||||
versionSuffix=
|
versionSuffix=
|
||||||
gradlePluginsVersion=5.0.12
|
gradlePluginsVersion=5.0.12
|
||||||
kotlinVersion=1.2.71
|
kotlinVersion=1.2.71
|
||||||
|
@ -294,6 +294,7 @@ abstract class AbstractNode<S>(val configuration: NodeConfiguration,
|
|||||||
@Suppress("LeakingThis")
|
@Suppress("LeakingThis")
|
||||||
val keyManagementService = makeKeyManagementService(identityService).tokenize()
|
val keyManagementService = makeKeyManagementService(identityService).tokenize()
|
||||||
|
|
||||||
|
val services = ServiceHubInternalImpl().tokenize()
|
||||||
val encryptedTransactionService = makeEncryptedTransactionService().tokenize()
|
val encryptedTransactionService = makeEncryptedTransactionService().tokenize()
|
||||||
|
|
||||||
val servicesForResolution = ServicesForResolutionImpl(identityService, attachments, cordappProvider, networkParametersStorage, transactionStorage, encryptedTransactionService).also {
|
val servicesForResolution = ServicesForResolutionImpl(identityService, attachments, cordappProvider, networkParametersStorage, transactionStorage, encryptedTransactionService).also {
|
||||||
@ -335,7 +336,7 @@ abstract class AbstractNode<S>(val configuration: NodeConfiguration,
|
|||||||
log.warn("MessagingService subscription error", it)
|
log.warn("MessagingService subscription error", it)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
val services = ServiceHubInternalImpl().tokenize()
|
|
||||||
val checkpointStorage = DBCheckpointStorage(DBCheckpointPerformanceRecorder(services.monitoringService.metrics), platformClock)
|
val checkpointStorage = DBCheckpointStorage(DBCheckpointPerformanceRecorder(services.monitoringService.metrics), platformClock)
|
||||||
@Suppress("LeakingThis")
|
@Suppress("LeakingThis")
|
||||||
val smm = makeStateMachineManager()
|
val smm = makeStateMachineManager()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user