aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-06-02 01:25:36 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-06-02 01:25:36 +0800
commitf03d315bad93f0c5660b5b83520ec8fdece7194b (patch)
treead40b4c0949fb77992382a0f67a3821ebf4289b0 /docs
parent84a8c0c008acf80a70c60dbfc0f5c3666abcd676 (diff)
downloaddexon-solidity-f03d315bad93f0c5660b5b83520ec8fdece7194b.tar.gz
dexon-solidity-f03d315bad93f0c5660b5b83520ec8fdece7194b.tar.zst
dexon-solidity-f03d315bad93f0c5660b5b83520ec8fdece7194b.zip
Updated incorrect list number
Diffstat (limited to 'docs')
-rw-r--r--docs/miscellaneous.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst
index 504c4e0e..ac41ebca 100644
--- a/docs/miscellaneous.rst
+++ b/docs/miscellaneous.rst
@@ -156,7 +156,7 @@ Unfortunately, there are some subtleties the compiler does not yet warn you abou
2. Sending Ether can fail due to the call depth going above 1024. Since the caller is in total control of the call
depth, they can force the transfer to fail, so make sure to always check the return value of ``send``. Better yet,
write your contract using a pattern where the recipient can withdraw Ether instead.
- 2. Sending Ether can also fail because the recipient goes out of gas (either explicitly by using ``throw`` or
+ 3. Sending Ether can also fail because the recipient goes out of gas (either explicitly by using ``throw`` or
because the operation is just too expensive). If the return value of ``send`` is checked, this might provide a
means for the recipient to block progress in the sending contract. Again, the best practise here is to use
a "withdraw" pattern instead of a "send" pattern.