diff --git a/core/src/main/kotlin/net/corda/core/flows/FinalityRecoveryFlow.kt b/core/src/main/kotlin/net/corda/core/flows/FinalityRecoveryFlow.kt index 02acd40a8e..2e0adf9eb2 100644 --- a/core/src/main/kotlin/net/corda/core/flows/FinalityRecoveryFlow.kt +++ b/core/src/main/kotlin/net/corda/core/flows/FinalityRecoveryFlow.kt @@ -57,10 +57,9 @@ class FlowRecoveryException(message: String, cause: Throwable? = null) : FlowExc data class FlowRecoveryQuery( val timeframe: FlowTimeWindow? = null, val initiatedBy: CordaX500Name? = null, - val counterParties: List? = null, - val excludeFlowIds: List? = null) { + val counterParties: List? = null) { init { - require(timeframe != null || initiatedBy != null || counterParties != null || excludeFlowIds != null) { + require(timeframe != null || initiatedBy != null || counterParties != null) { "Must specify at least one recovery criteria" } }