Order of parameters

This commit is contained in:
Christian Sailer 2017-11-27 18:49:15 +00:00
parent d9e0aa9068
commit c82d167296

View File

@ -74,7 +74,7 @@ class CashIssueAndPaySampler : AbstractSampler() {
override fun createFlowInvoke(rpcProxy: CordaRPCOps, testContext: JavaSamplerContext): FlowInvoke<*> {
val amount = 2_000_000.POUNDS
return FlowInvoke<CashIssueAndPaymentFlow>(CashIssueAndPaymentFlow::class.java, arrayOf(amount, OpaqueBytes.of(1), notaryIdentity, true, counterParty))
return FlowInvoke<CashIssueAndPaymentFlow>(CashIssueAndPaymentFlow::class.java, arrayOf(amount, OpaqueBytes.of(1), counterParty, true, notaryIdentity))
}
override fun teardownTest(rpcProxy: CordaRPCOps, testContext: JavaSamplerContext) {