mirror of
https://github.com/corda/corda.git
synced 2025-03-03 12:57:29 +00:00
Only hit the database if `StateMachineState.isAnyCheckpointPersisted` returns true. Otherwise, there will be no checkpoint to retrieve from the database anyway. This can prevent errors due to a transient loss of connection to the database. Update tests after merging to 4.6