StateMachineManager is no longer lateinit. (#2123)

This commit is contained in:
Andrzej Cichocki
2017-11-27 17:55:08 +00:00
committed by GitHub
parent 4ca54b73fe
commit 4bd6fef0f9
20 changed files with 63 additions and 66 deletions

View File

@ -38,8 +38,7 @@ class TraderDemoTest {
startNode(providedName = DUMMY_BANK_B.name, rpcUsers = listOf(demoUser)),
startNode(providedName = BOC.name, rpcUsers = listOf(bankUser))
).map { (it.getOrThrow() as NodeHandle.InProcess).node }
nodeA.internals.registerInitiatedFlow(BuyerFlow::class.java)
nodeA.registerInitiatedFlow(BuyerFlow::class.java)
val (nodeARpc, nodeBRpc) = listOf(nodeA, nodeB).map {
val client = CordaRPCClient(it.internals.configuration.rpcAddress!!)
client.start(demoUser.username, demoUser.password).proxy