mirror of
https://github.com/corda/corda.git
synced 2025-01-29 15:43:55 +00:00
#3522- IdentitySyncFlow.Send primary constructor requires a ProgressTracker (#3554)
* Adding default tracker for primary constructor. * Adding default tracker for primary constructor. * Removing tracker from constructor. * Adding default tracker for primary constructor. * Removing tracker from constructor.
This commit is contained in:
parent
da32a7e56f
commit
17b800ea15
@ -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<FlowSession>,
|
||||
class Send @JvmOverloads constructor(val otherSideSessions: Set<FlowSession>,
|
||||
val tx: WireTransaction,
|
||||
override val progressTracker: ProgressTracker) : FlowLogic<Unit>() {
|
||||
constructor(otherSide: FlowSession, tx: WireTransaction) : this(setOf(otherSide), tx, tracker())
|
||||
override val progressTracker: ProgressTracker = tracker()) : FlowLogic<Unit>() {
|
||||
constructor(otherSide: FlowSession, tx: WireTransaction) : this(setOf(otherSide), tx)
|
||||
|
||||
companion object {
|
||||
object SYNCING_IDENTITIES : ProgressTracker.Step("Syncing identities")
|
||||
|
Loading…
x
Reference in New Issue
Block a user