Skip to content

Commit

Permalink
Merge pull request #15 from kevinhealy/patch-1
Browse files Browse the repository at this point in the history
Fixed Typo
  • Loading branch information
xhliu committed Jan 8, 2022
2 parents d91b21e + f11cfa7 commit d767efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/state.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ simply call a built-in function ``this.getStateScript()`` to get the locking scr
It is automatically generated for every stateful contract, i.e., a contract that has at least one property decorated with ``@state``.

Finally, use :ref:`OP_PUSH_TX<pushtx-label>` to ensure the output[s] containing the state go into the current spending transaction.
The following is an example contract that records the number of times ``mutate()`` have been called.
The following is an example contract that records the number of times ``increment()`` have been called.

.. code-block:: solidity
Expand Down

0 comments on commit d767efa

Please sign in to comment.