Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Simple Broadcasting of a transaction - Calling the flow
subFlow(FinalityFlow(stx, sessions)).also {
// sends to everyone in the network
val broadcastToParties = { node -> node.legalIdentities.first() } - message.recipient - message.sender
subFlow(BroadcastTransactionFlow(it, broadcastToParties))
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.