Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Simple Broadcasting of a transaction - BroadcastTransactionFlow
class BroadcastTransactionFlow(
private val stx: SignedTransaction,
private val recipients: List<Party>
) : FlowLogic<Unit>() {
override fun call() {
for (recipient in recipients) {
val session = initiateFlow(recipient)
subFlow(SendTransactionFlow(session, stx))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.