Put back AutoOfferFlow

This commit is contained in:
Andras Slemmer 2018-01-31 18:24:02 +00:00
parent b71f0c49fb
commit 182d594574

View File

@ -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 // 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 // was filed, checking that the reportee is a regulated entity and not some random node from the wrong
// country and so on. // country and so on.
// val regulator = serviceHub.identityService.partiesFromName("Regulator", true).single() val regulator = serviceHub.identityService.partiesFromName("Regulator", true).single()
// subFlow(ReportToRegulatorFlow(regulator, finalTx)) subFlow(ReportToRegulatorFlow(regulator, finalTx))
return finalTx return finalTx
} }