aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-07-18 20:52:24 +0800
committerGitHub <noreply@github.com>2017-07-18 20:52:24 +0800
commit7b0f8774211101c78a0540e0525a2bc4f875deea (patch)
tree2fd5f35bcab1bddf00b3044ef86490b89a5b5f07
parent43a3129caf113ca16dda6c8d39031e995ae7e56d (diff)
parent5e0f5ee6273b35eac3ad55e911eb0850f39e7287 (diff)
downloaddexon-solidity-7b0f8774211101c78a0540e0525a2bc4f875deea.tar.gz
dexon-solidity-7b0f8774211101c78a0540e0525a2bc4f875deea.tar.zst
dexon-solidity-7b0f8774211101c78a0540e0525a2bc4f875deea.zip
Merge pull request #2582 from jooray/patch-1
Keep the terminology about the exceptions the same
-rw-r--r--docs/control-structures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst
index f4c0b776..8d7c78a2 100644
--- a/docs/control-structures.rst
+++ b/docs/control-structures.rst
@@ -443,4 +443,4 @@ Internally, Solidity performs a revert operation (instruction ``0xfd``) for a ``
the EVM to revert all changes made to the state. The reason for reverting is that there is no safe way to continue execution, because an expected effect
did not occur. Because we want to retain the atomicity of transactions, the safest thing to do is to revert all changes and make the whole transaction
(or at least call) without effect. Note that ``assert``-style exceptions consume all gas available to the call, while
-``revert``-style exceptions will not consume any gas starting from the Metropolis release. \ No newline at end of file
+``require``-style exceptions will not consume any gas starting from the Metropolis release.