Updated docs and release notes for recent deprecation of getCounterpartyMarker

This commit is contained in:
Shams Asari
2017-04-26 10:11:10 +01:00
parent af36e0f731
commit 3fcb773a31
5 changed files with 61 additions and 34 deletions

View File

@ -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)
}

View File

@ -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