Last active
October 25, 2021 09:58
-
-
Save ashutoshmeher-r3/df13da2252263c838a4c7576f3e78d0a 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
@InitiatingFlow | |
@StartableByRPC | |
public class IssueLandTitleFlow implements Flow<SignedTransactionDigest>{ | |
// Inject Services Here | |
@Override | |
@Suspendable | |
public SignedTransactionDigest call() { | |
// Flow code logic here | |
return new SignedTransactionDigest(notarisedTx.getId(), | |
Collections.singletonList(jsonMarshallingService.formatJson(notarisedTx.getTx().getOutputStates().get(0))), | |
notarisedTx.getSigs()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment