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 59bcbf48d3..0340796a9d 100644 --- a/node/src/main/kotlin/com/r3corda/node/internal/AbstractNode.kt +++ b/node/src/main/kotlin/com/r3corda/node/internal/AbstractNode.kt @@ -209,9 +209,9 @@ abstract class AbstractNode(open val configuration: NodeConfiguration, val netwo // the identity key. But the infrastructure to make that easy isn't here yet. keyManagement = makeKeyManagementService() api = APIServerImpl(this@AbstractNode) + protocolLogicFactory = initialiseProtocolLogicFactory() scheduler = NodeSchedulerService(database, services, protocolLogicFactory) - protocolLogicFactory = initialiseProtocolLogicFactory() val tokenizableServices = mutableListOf(storage, net, vault, keyManagement, identity, platformClock, scheduler)