Merge pull request #11488 from amidmm/develop

[docs] updating description of the code for new version of solidity
This commit is contained in:
chriseth 2021-06-28 15:46:38 +02:00 committed by GitHub
commit 8a4da927e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,8 +226,8 @@ a failure can more easily be debugged or reacted upon.
The ``send`` function can be used by anyone (who already 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 has some of these coins) to send coins to anyone else. If the sender does not have
enough coins to send, the ``require`` call fails and provides the enough coins to send, the ``if`` condition evaluates to true. As a result, the ``revert`` will cause the operation to fail
sender with an appropriate error message string. while providing the sender with error details using the ``InsufficientBalance`` error.
.. note:: .. note::
If you use If you use