From 8a6fc2964c9703d742e94014770a60923831045a Mon Sep 17 00:00:00 2001 From: Joseph Tharakan Date: Mon, 8 Jul 2019 19:24:43 +0530 Subject: [PATCH] DOCS - use signInitialTransaction instead of toSignedTransaction in tutorial docs (#5280) --- docs/source/tutorial-contract.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tutorial-contract.rst b/docs/source/tutorial-contract.rst index 64b31c63fe..3b75d2c181 100644 --- a/docs/source/tutorial-contract.rst +++ b/docs/source/tutorial-contract.rst @@ -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`` .