mirror of
https://github.com/corda/corda.git
synced 2024-12-25 07:31:10 +00:00
CONTRIBUTION - Update tut-two-party-flow.rst (#3133)
Bug: https://github.com/corda/corda/issues/3120 Updated line 55: From: IOUContract.Commands.Create -> IOUContract.Create
This commit is contained in:
parent
f9a9bb19a7
commit
37656a58f5
@ -52,7 +52,7 @@ In the original CorDapp, we automated the process of notarising a transaction an
|
||||
by invoking a built-in flow called ``FinalityFlow`` as a subflow. We're going to use another pre-defined flow,
|
||||
``CollectSignaturesFlow``, to gather the borrower's signature.
|
||||
|
||||
First, we need to update the command. We are now using ``IOUContract.Commands.Create``, rather than
|
||||
First, we need to update the command. We are now using ``IOUContract.Create``, rather than
|
||||
``TemplateContract.Commands.Action``. We also want to make the borrower a required signer, as per the contract
|
||||
constraints. This is as simple as adding the borrower's public key to the transaction's command.
|
||||
|
||||
@ -149,4 +149,4 @@ You should now be ready to develop your own CorDapps. You can also find a list o
|
||||
:doc:`Corda API <corda-api>`.
|
||||
|
||||
If you get stuck at any point, please reach out on `Slack <https://slack.corda.net/>`_ or
|
||||
`Stack Overflow <https://stackoverflow.com/questions/tagged/corda>`_.
|
||||
`Stack Overflow <https://stackoverflow.com/questions/tagged/corda>`_.
|
||||
|
Loading…
Reference in New Issue
Block a user