Comment out parties.

This commit is contained in:
rick.parker 2017-11-10 16:30:07 +00:00
parent b7fb87ed83
commit 6a6d84cce4

View File

@ -20,8 +20,8 @@ abstract class AsbtractTraderDemoPlugin : CordaRPCSampler.Plugin {
val bankB = CordaX500Name(organisation = "Bank B", locality = "New York", country = "US") val bankB = CordaX500Name(organisation = "Bank B", locality = "New York", country = "US")
protected fun getIdentities(rpc: CordaRPCOps) { protected fun getIdentities(rpc: CordaRPCOps) {
buyer = rpc.wellKnownPartyFromX500Name(bankA) ?: throw IllegalStateException("Don't know $bankA") //buyer = rpc.wellKnownPartyFromX500Name(bankA) ?: throw IllegalStateException("Don't know $bankA")
seller = rpc.wellKnownPartyFromX500Name(bankB) ?: throw IllegalStateException("Don't know $bankB") //seller = rpc.wellKnownPartyFromX500Name(bankB) ?: throw IllegalStateException("Don't know $bankB")
notary = rpc.notaryIdentities().first() notary = rpc.notaryIdentities().first()
} }
} }