mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
Merge remote-tracking branch 'remotes/origin/master' into mnesbit-cor-261-artemis-over-ssl
This commit is contained in:
commit
9a9df847af
1
.idea/runConfigurations/All_tests.xml
generated
1
.idea/runConfigurations/All_tests.xml
generated
@ -17,6 +17,7 @@
|
||||
<value defaultName="wholeProject" />
|
||||
</option>
|
||||
<envs />
|
||||
<fork_mode value="class" />
|
||||
<patterns />
|
||||
<method />
|
||||
</configuration>
|
||||
|
@ -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