Skip to content

Commit

Permalink
Fix steps references. Small text fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
m4ksio authored and Joel Dudley committed Sep 5, 2017
1 parent 3b789b5 commit 377ca95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/hello-world-flow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Subflows
Although our flow requirements look complex, we can delegate to existing flows to handle many of these tasks. A flow
that is invoked within the context of a larger flow to handle a repeatable task is called a *subflow*.

In our initiator flow, we can automate steps 5, 6 and 7 using ``FinalityFlow``.
In our initiator flow, we can automate steps 4 and 5 using ``FinalityFlow``.

All we need to do is write the steps to handle the creation and signing of the proposed transaction.

Expand Down Expand Up @@ -162,7 +162,7 @@ We now have our own ``FlowLogic`` subclass that overrides ``FlowLogic.call``. Th
* There are also a few more annotations, on the ``FlowLogic`` subclass itself:

* ``@InitiatingFlow`` means that this flow can be started directly by the node
* ``StartableByRPC`` allows the node owner to start this flow via an RPC call
* ``@StartableByRPC`` allows the node owner to start this flow via an RPC call

* We override the progress tracker, even though we are not providing any progress tracker steps yet. The progress
tracker is required for the node shell to establish when the flow has ended
Expand Down Expand Up @@ -204,7 +204,7 @@ the following transaction:
So we'll need the following:

* The output ``IOUState``
* A ``Create`` command listing the IOU's borrower as a signer
* A ``Create`` command listing the IOU's lender as a signer

The command we use pairs the ``IOUContract.Create`` command defined earlier with our public key. Including this command
in the transaction makes us one of the transaction's required signers.
Expand Down

0 comments on commit 377ca95

Please sign in to comment.