Add missing StartableByRPC annotation.

This commit is contained in:
Katarzyna Streich 2017-05-15 10:47:16 +01:00
parent 5f5f51bf51
commit e61a8a7b09

View File

@ -6,6 +6,7 @@ import net.corda.core.contracts.Amount
import net.corda.core.contracts.InsufficientBalanceException
import net.corda.core.contracts.TransactionType
import net.corda.core.contracts.issuedBy
import net.corda.core.flows.StartableByRPC
import net.corda.core.identity.Party
import net.corda.core.serialization.OpaqueBytes
import net.corda.core.transactions.SignedTransaction
@ -20,6 +21,7 @@ import java.util.*
* @param issuerRef the reference on the issued currency. Added to the node's legal identity to determine the
* issuer.
*/
@StartableByRPC
class CashExitFlow(val amount: Amount<Currency>, val issueRef: OpaqueBytes, progressTracker: ProgressTracker) : AbstractCashFlow(progressTracker) {
constructor(amount: Amount<Currency>, issueRef: OpaqueBytes) : this(amount, issueRef, tracker())