mirror of
https://github.com/corda/corda.git
synced 2025-06-18 15:18:16 +00:00
Updated docs and release notes for recent deprecation of getCounterpartyMarker
This commit is contained in:
@ -14,7 +14,7 @@ import java.security.cert.Certificate
|
||||
* DoS of the node, as key generation/storage is vastly more expensive than submitting a request.
|
||||
*/
|
||||
object TxKeyFlow {
|
||||
fun registerFlowInitiator(services: PluginServiceHub) {
|
||||
fun registerServiceFlow(services: PluginServiceHub) {
|
||||
services.registerServiceFlow(Requester::class.java, ::Provider)
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ class TxKeyFlowUtilitiesTests {
|
||||
val bobKey: Party = bobNode.services.myInfo.legalIdentity
|
||||
|
||||
// Run the flows
|
||||
TxKeyFlow.registerFlowInitiator(bobNode.services)
|
||||
TxKeyFlow.registerServiceFlow(bobNode.services)
|
||||
val requesterFlow = aliceNode.services.startFlow(TxKeyFlow.Requester(bobKey))
|
||||
|
||||
// Get the results
|
||||
|
Reference in New Issue
Block a user