Skip to content

Commit

Permalink
Undo removing a flow
Browse files Browse the repository at this point in the history
  • Loading branch information
adagys committed May 21, 2020
1 parent 7374d5b commit 641b199
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package com.r3.corda.lib.tokens.workflows.flows.redeem

import co.paralleluniverse.fibers.Suspendable
import net.corda.core.flows.FlowLogic
import net.corda.core.flows.FlowSession

/**
* Responder flow to [ConfidentialRedeemFungibleTokensFlow].
*/
class ConfidentialRedeemFungibleTokensFlowHandler(val otherSession: FlowSession) : FlowLogic<Unit>() {
@Suspendable
override fun call() {
subFlow(RedeemTokensFlowHandler(otherSession))
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ constructor(
open class ConfidentialRedeemFungibleTokensHandler(val otherSession: FlowSession) : FlowLogic<Unit>() {
@Suspendable
override fun call() {
subFlow(RedeemTokensFlowHandler(otherSession))
subFlow(ConfidentialRedeemFungibleTokensFlowHandler(otherSession))
}
}

0 comments on commit 641b199

Please sign in to comment.