Skip to content

Instantly share code, notes, and snippets.

@ashutoshmeher-r3
Last active October 25, 2021 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashutoshmeher-r3/df13da2252263c838a4c7576f3e78d0a to your computer and use it in GitHub Desktop.
Save ashutoshmeher-r3/df13da2252263c838a4c7576f3e78d0a to your computer and use it in GitHub Desktop.
@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