DOCS - use signInitialTransaction instead of toSignedTransaction in tutorial docs (#5280)

This commit is contained in:
Joseph Tharakan 2019-07-08 19:24:43 +05:30 committed by Shams Asari
parent 933330bc4c
commit 8a6fc2964c

View File

@ -513,7 +513,7 @@ from the ledger). Finally, we add a Redeem command that should be signed by the
A ``TransactionBuilder`` is not by itself ready to be used anywhere, so first, we must convert it to something that
is recognised by the network. The most important next step is for the participating entities to sign it. Typically,
an initiating flow will create an initial partially signed ``SignedTransaction`` by calling the ``serviceHub.toSignedTransaction`` method.
an initiating flow will create an initial partially signed ``SignedTransaction`` by calling the ``ServiceHub.signInitialTransaction`` method.
Then the frozen ``SignedTransaction`` can be passed to other nodes by the flow, these can sign using ``serviceHub.createSignature`` and distribute.
The ``CollectSignaturesFlow`` provides a generic implementation of this process that can be used as a ``subFlow`` .