mirror of
https://github.com/corda/corda.git
synced 2025-04-06 10:57:18 +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.