Fix error from warning from detekt

This commit is contained in:
LankyDan 2019-11-01 16:00:09 +00:00
parent 3aaddb47ea
commit be2e34b33a

View File

@ -883,7 +883,6 @@ class SingleThreadedStateMachineManager(
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
// to avoid memory leaks if the notary is under heavy load.
val isNotary = serviceHub.configuration.notary != null
return StaffedFlowHospital(flowMessaging, serviceHub.clock, ourSenderUUID)
}