diff --git a/confidential-identities/src/main/kotlin/net/corda/confidential/IdentitySyncFlow.kt b/confidential-identities/src/main/kotlin/net/corda/confidential/IdentitySyncFlow.kt index d27a5f6d18..6d4f6ea522 100644 --- a/confidential-identities/src/main/kotlin/net/corda/confidential/IdentitySyncFlow.kt +++ b/confidential-identities/src/main/kotlin/net/corda/confidential/IdentitySyncFlow.kt @@ -20,10 +20,10 @@ object IdentitySyncFlow { * recipient, enabling them to verify that identity. */ // TODO: Can this be triggered automatically from [SendTransactionFlow]? - class Send(val otherSideSessions: Set, + class Send @JvmOverloads constructor(val otherSideSessions: Set, val tx: WireTransaction, - override val progressTracker: ProgressTracker) : FlowLogic() { - constructor(otherSide: FlowSession, tx: WireTransaction) : this(setOf(otherSide), tx, tracker()) + override val progressTracker: ProgressTracker = tracker()) : FlowLogic() { + constructor(otherSide: FlowSession, tx: WireTransaction) : this(setOf(otherSide), tx) companion object { object SYNCING_IDENTITIES : ProgressTracker.Step("Syncing identities")