mirror of
https://github.com/corda/corda.git
synced 2025-06-12 20:28:18 +00:00
StateMachineManager is no longer lateinit. (#2123)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user