mirror of
https://github.com/corda/corda.git
synced 2024-12-19 21:17:58 +00:00
Update lastModificationTime in missing spots
This commit is contained in:
parent
d8a5f19fb3
commit
e2a22ba9e8
@ -63,7 +63,8 @@ class ErrorFlowTransition(
|
|||||||
flowState = FlowState.Finished,
|
flowState = FlowState.Finished,
|
||||||
checkpointState = startingState.checkpoint.checkpointState.copy(
|
checkpointState = startingState.checkpoint.checkpointState.copy(
|
||||||
numberOfCommits = startingState.checkpoint.checkpointState.numberOfCommits + 1
|
numberOfCommits = startingState.checkpoint.checkpointState.numberOfCommits + 1
|
||||||
)
|
),
|
||||||
|
lastModificationTime = context.time
|
||||||
)
|
)
|
||||||
currentState = currentState.copy(
|
currentState = currentState.copy(
|
||||||
checkpoint = newCheckpoint,
|
checkpoint = newCheckpoint,
|
||||||
|
@ -371,7 +371,8 @@ class TopLevelTransition(
|
|||||||
status = Checkpoint.FlowStatus.HOSPITALIZED,
|
status = Checkpoint.FlowStatus.HOSPITALIZED,
|
||||||
checkpointState = startingState.checkpoint.checkpointState.copy(
|
checkpointState = startingState.checkpoint.checkpointState.copy(
|
||||||
numberOfCommits = startingState.checkpoint.checkpointState.numberOfCommits + 1
|
numberOfCommits = startingState.checkpoint.checkpointState.numberOfCommits + 1
|
||||||
)
|
),
|
||||||
|
lastModificationTime = context.time
|
||||||
),
|
),
|
||||||
pendingDeduplicationHandlers = startingState.pendingDeduplicationHandlers - flowStartEvents,
|
pendingDeduplicationHandlers = startingState.pendingDeduplicationHandlers - flowStartEvents,
|
||||||
closedSessionsPendingToBeSignalled = emptyMap()
|
closedSessionsPendingToBeSignalled = emptyMap()
|
||||||
|
Loading…
Reference in New Issue
Block a user