mirror of
https://github.com/corda/corda.git
synced 2025-06-22 17:09:00 +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:
committed by
Joel Dudley
parent
da32a7e56f
commit
17b800ea15
@ -20,10 +20,10 @@ object IdentitySyncFlow {
|
|||||||
* recipient, enabling them to verify that identity.
|
* recipient, enabling them to verify that identity.
|
||||||
*/
|
*/
|
||||||
// TODO: Can this be triggered automatically from [SendTransactionFlow]?
|
// 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,
|
val tx: WireTransaction,
|
||||||
override val progressTracker: ProgressTracker) : FlowLogic<Unit>() {
|
override val progressTracker: ProgressTracker = tracker()) : FlowLogic<Unit>() {
|
||||||
constructor(otherSide: FlowSession, tx: WireTransaction) : this(setOf(otherSide), tx, tracker())
|
constructor(otherSide: FlowSession, tx: WireTransaction) : this(setOf(otherSide), tx)
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
object SYNCING_IDENTITIES : ProgressTracker.Step("Syncing identities")
|
object SYNCING_IDENTITIES : ProgressTracker.Step("Syncing identities")
|
||||||
|
Reference in New Issue
Block a user