mirror of
https://github.com/corda/corda.git
synced 2024-12-27 08:22:35 +00:00
Put back AutoOfferFlow
This commit is contained in:
parent
b71f0c49fb
commit
182d594574
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user