Remove superfluous registerInitiatedFlow calls from tutorial and example tests (#2944)

This commit is contained in:
Anthony Keenan
2018-04-20 16:56:27 +01:00
committed by GitHub
parent 342ecc4eed
commit 247a97f1a5
7 changed files with 6 additions and 39 deletions

View File

@ -39,7 +39,6 @@ class TraderDemoTest {
startNode(providedName = DUMMY_BANK_B_NAME, rpcUsers = listOf(demoUser)),
startNode(providedName = BOC_NAME, rpcUsers = listOf(bankUser))
).map { (it.getOrThrow() as InProcess) }
nodeA.registerInitiatedFlow(BuyerFlow::class.java)
val (nodeARpc, nodeBRpc) = listOf(nodeA, nodeB).map {
val client = CordaRPCClient(it.rpcAddress)
client.start(demoUser.username, demoUser.password).proxy