mirror of
https://github.com/corda/corda.git
synced 2025-05-02 16:53:22 +00:00
Fix error from warning from detekt
This commit is contained in:
parent
3aaddb47ea
commit
be2e34b33a
@ -883,7 +883,6 @@ class SingleThreadedStateMachineManager(
|
|||||||
private fun makeFlowHospital() : StaffedFlowHospital {
|
private fun makeFlowHospital() : StaffedFlowHospital {
|
||||||
// If the node is running as a notary service, we don't retain errored session initiation requests in case of missing Cordapps
|
// If the node is running as a notary service, we don't retain errored session initiation requests in case of missing Cordapps
|
||||||
// to avoid memory leaks if the notary is under heavy load.
|
// to avoid memory leaks if the notary is under heavy load.
|
||||||
val isNotary = serviceHub.configuration.notary != null
|
|
||||||
return StaffedFlowHospital(flowMessaging, serviceHub.clock, ourSenderUUID)
|
return StaffedFlowHospital(flowMessaging, serviceHub.clock, ourSenderUUID)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user