mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #11488 from amidmm/develop
[docs] updating description of the code for new version of solidity
This commit is contained in:
commit
8a4da927e4
@ -226,8 +226,8 @@ 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 ``require`` call fails and provides the
|
||||
sender with an appropriate error message string.
|
||||
enough coins to send, the ``if`` condition evaluates to true. As a result, the ``revert`` will cause the operation to fail
|
||||
while providing the sender with error details using the ``InsufficientBalance`` error.
|
||||
|
||||
.. note::
|
||||
If you use
|
||||
|
Loading…
Reference in New Issue
Block a user