diff --git a/node/src/main/kotlin/net/corda/node/services/vault/NodeVaultService.kt b/node/src/main/kotlin/net/corda/node/services/vault/NodeVaultService.kt index 33a46d5faf..75f20fec92 100644 --- a/node/src/main/kotlin/net/corda/node/services/vault/NodeVaultService.kt +++ b/node/src/main/kotlin/net/corda/node/services/vault/NodeVaultService.kt @@ -530,9 +530,8 @@ class NodeVaultService(private val services: ServiceHub, dataSourceProperties: P private fun isRelevant(state: ContractState, ourKeys: Set) = when (state) { is OwnableState -> state.owner.owningKey.containsAny(ourKeys) - // It's potentially of interest to the vault is LinearState -> state.isRelevant(ourKeys) - else -> false + else -> ourKeys.intersect(state.participants.map { it.owningKey }).isNotEmpty() } /**