mirror of
https://github.com/corda/corda.git
synced 2025-02-04 18:22:29 +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
|
||||
# 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=
|
||||
gradlePluginsVersion=5.0.12
|
||||
kotlinVersion=1.2.71
|
||||
|
@ -294,6 +294,7 @@ abstract class AbstractNode<S>(val configuration: NodeConfiguration,
|
||||
@Suppress("LeakingThis")
|
||||
val keyManagementService = makeKeyManagementService(identityService).tokenize()
|
||||
|
||||
val services = ServiceHubInternalImpl().tokenize()
|
||||
val encryptedTransactionService = makeEncryptedTransactionService().tokenize()
|
||||
|
||||
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)
|
||||
})
|
||||
}
|
||||
val services = ServiceHubInternalImpl().tokenize()
|
||||
|
||||
val checkpointStorage = DBCheckpointStorage(DBCheckpointPerformanceRecorder(services.monitoringService.metrics), platformClock)
|
||||
@Suppress("LeakingThis")
|
||||
val smm = makeStateMachineManager()
|
||||
|
Loading…
x
Reference in New Issue
Block a user