mirror of
https://github.com/corda/corda.git
synced 2025-01-18 10:46:38 +00:00
Removed reference from progress tracker output to improve output readability.
This commit is contained in:
parent
38f4711a80
commit
e81d8b9928
@ -439,12 +439,12 @@ object TwoPartyDealProtocol {
|
||||
*/
|
||||
class FixingRoleDecider(val ref: StateRef,
|
||||
val timeout: Duration,
|
||||
override val progressTracker: ProgressTracker = tracker(ref.toString())) : ProtocolLogic<Unit>() {
|
||||
override val progressTracker: ProgressTracker = tracker()) : ProtocolLogic<Unit>() {
|
||||
|
||||
companion object {
|
||||
class LOADING(ref: String) : ProgressTracker.Step("Loading state $ref to decide fixing role")
|
||||
class LOADING() : ProgressTracker.Step("Loading state to decide fixing role")
|
||||
|
||||
fun tracker(ref: String) = ProgressTracker(LOADING(ref))
|
||||
fun tracker() = ProgressTracker(LOADING())
|
||||
}
|
||||
|
||||
override val topic: String get() = FIX_INITIATE_TOPIC
|
||||
|
Loading…
Reference in New Issue
Block a user