mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Deprecated FlowLogic.getCounterpartyMarker as it's complicated and probably not used (replacement is to use sub-flows).
Also made flow registration require the client flow class rather than any old class.
This commit is contained in:
@ -31,7 +31,7 @@ class BuyerFlow(val otherParty: Party,
|
||||
it.automaticallyExtractAttachments = true
|
||||
it.storePath
|
||||
}
|
||||
services.registerFlowInitiator(SellerFlow::class.java) { BuyerFlow(it, attachmentsPath.toString()) }
|
||||
services.registerServiceFlow(SellerFlow::class.java) { BuyerFlow(it, attachmentsPath.toString()) }
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user