Created
August 11, 2021 19:41
-
-
Save davidawad/b93fdf57f5a416950e02d08b52066471 to your computer and use it in GitHub Desktop.
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
progressTracker.setCurrentStep(FINALISATION); | |
// We notarise the transaction and get it recorded in the vault of | |
// the participants of all the transaction's states. | |
SignedTransaction notarisedTx1 = subFlow(new FinalityFlow(fullySignedTx, singleton(counterpartySession), FINALISATION.childProgressTracker())); | |
// We can also choose to send it to additional parties who aren't one | |
// of the state's participants. | |
List<FlowSession> partySessions = Arrays.asList(counterpartySession, initiateFlow(regulator)); | |
SignedTransaction notarisedTx2 = subFlow(new FinalityFlow(fullySignedTx, partySessions, FINALISATION.childProgressTracker())); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment