diff --git a/experimental/flow-worker/src/main/kotlin/net/corda/flowworker/FlowWorkerServiceHub.kt b/experimental/flow-worker/src/main/kotlin/net/corda/flowworker/FlowWorkerServiceHub.kt index edc4a1cdd2..fc6be347ec 100644 --- a/experimental/flow-worker/src/main/kotlin/net/corda/flowworker/FlowWorkerServiceHub.kt +++ b/experimental/flow-worker/src/main/kotlin/net/corda/flowworker/FlowWorkerServiceHub.kt @@ -97,7 +97,7 @@ class FlowWorkerServiceHub(override val configuration: NodeConfiguration, overri identityService.database = database } - private val persistentNetworkMapCache = PersistentNetworkMapCache(database) + private val persistentNetworkMapCache = PersistentNetworkMapCache(database, myInfo.legalIdentities[0].name) override val networkMapCache = NetworkMapCacheImpl(persistentNetworkMapCache, identityService, database).tokenize() private val checkpointStorage = DBCheckpointStorage() @Suppress("LeakingThis")