Work around change in how c'tors with optional arguments are handled via RPC in FixingRoleDecider.

This commit is contained in:
Mike Hearn 2017-02-03 13:37:44 +01:00 committed by Chris Rankin
parent 3871dbbc1f
commit 8627a7dbbe

View File

@ -132,8 +132,9 @@ object FixingFlow {
*
* TODO: Replace [FixingSession] and [FixingSessionInitiationHandler] with generic session initiation logic once it exists.
*/
class FixingRoleDecider(val ref: StateRef,
override val progressTracker: ProgressTracker = tracker()) : FlowLogic<Unit>() {
class FixingRoleDecider(val ref: StateRef, override val progressTracker: ProgressTracker) : FlowLogic<Unit>() {
@Suppress("unused") // Used via reflection.
constructor(ref: StateRef) : this(ref, tracker())
companion object {
class LOADING() : ProgressTracker.Step("Loading state to decide fixing role")