Created
June 14, 2019 07:42
-
-
Save lankydan/ec89a44a7c4bfef438ee218e34bea7d8 to your computer and use it in GitHub Desktop.
Simple Broadcasting of a transaction - BroadcastTransactionResponder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@InitiatedBy(BroadcastTransactionFlow::class) | |
class BroadcastTransactionResponder(private val session: FlowSession) : FlowLogic<Unit>() { | |
@Suspendable | |
override fun call() { | |
subFlow(ReceiveTransactionFlow(session, statesToRecord = StatesToRecord.ALL_VISIBLE)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment