Skip to content

Updated paragraph in the docs to reflect the smart contract code #15974

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/introduction-to-smart-contracts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ a failure can more easily be debugged or reacted upon.

The ``send`` function can be used by anyone (who already
has some of these coins) to send coins to anyone else. If the sender does not have
enough coins to send, the ``if`` condition evaluates to true. As a result, the ``revert`` will cause the operation to fail
enough coins to send, the ``require`` condition evaluates to false. As a result, the ``require`` will cause the operation to fail
while providing the sender with error details using the ``InsufficientBalance`` error.

.. note::
Expand Down