From 182d5945746996712e374711fc054e3190970b98 Mon Sep 17 00:00:00 2001 From: Andras Slemmer Date: Wed, 31 Jan 2018 18:24:02 +0000 Subject: [PATCH] Put back AutoOfferFlow --- .../src/main/kotlin/net/corda/irs/flows/AutoOfferFlow.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/irs-demo/cordapp/src/main/kotlin/net/corda/irs/flows/AutoOfferFlow.kt b/samples/irs-demo/cordapp/src/main/kotlin/net/corda/irs/flows/AutoOfferFlow.kt index 229daa9c5c..9da48655a9 100644 --- a/samples/irs-demo/cordapp/src/main/kotlin/net/corda/irs/flows/AutoOfferFlow.kt +++ b/samples/irs-demo/cordapp/src/main/kotlin/net/corda/irs/flows/AutoOfferFlow.kt @@ -71,8 +71,8 @@ object AutoOfferFlow { // and because in a real life app you'd probably have more complex logic here e.g. describing why the report // was filed, checking that the reportee is a regulated entity and not some random node from the wrong // country and so on. - // val regulator = serviceHub.identityService.partiesFromName("Regulator", true).single() - // subFlow(ReportToRegulatorFlow(regulator, finalTx)) + val regulator = serviceHub.identityService.partiesFromName("Regulator", true).single() + subFlow(ReportToRegulatorFlow(regulator, finalTx)) return finalTx }