mirror of
https://github.com/corda/corda.git
synced 2024-12-24 07:06:44 +00:00
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
3c005789c0
commit
e3bc7fa0af
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user