From be2e34b33a85c3f38e723903cca9f4ee58a32370 Mon Sep 17 00:00:00 2001 From: LankyDan Date: Fri, 1 Nov 2019 16:00:09 +0000 Subject: [PATCH] Fix error from warning from detekt --- .../services/statemachine/SingleThreadedStateMachineManager.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/node/src/main/kotlin/net/corda/node/services/statemachine/SingleThreadedStateMachineManager.kt b/node/src/main/kotlin/net/corda/node/services/statemachine/SingleThreadedStateMachineManager.kt index 7f2e643007..8da51d5d6b 100644 --- a/node/src/main/kotlin/net/corda/node/services/statemachine/SingleThreadedStateMachineManager.kt +++ b/node/src/main/kotlin/net/corda/node/services/statemachine/SingleThreadedStateMachineManager.kt @@ -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) }