aboutsummaryrefslogtreecommitdiffstats
path: root/docs/solidity-by-example.rst
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-03-02 19:29:48 +0800
committerchriseth <chris@ethereum.org>2018-03-02 19:29:48 +0800
commit66ee9aa2f1d5af5dbabd6699e98935261d49558c (patch)
treeb648e926d566fb8b8210b2f8c091aaac8a1fefb9 /docs/solidity-by-example.rst
parentc9840c98f45e6fa9258ec4624219622f5f71c75c (diff)
downloaddexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar.gz
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar.bz2
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar.lz
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar.xz
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.tar.zst
dexon-solidity-66ee9aa2f1d5af5dbabd6699e98935261d49558c.zip
Use 0.4.21 pragma for documentation that uses "emit".
Diffstat (limited to 'docs/solidity-by-example.rst')
-rw-r--r--docs/solidity-by-example.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst
index 57556fa5..27fefd49 100644
--- a/docs/solidity-by-example.rst
+++ b/docs/solidity-by-example.rst
@@ -219,7 +219,7 @@ activate themselves.
::
- pragma solidity ^0.4.20; // should actually be 0.4.21
+ pragma solidity ^0.4.21;
contract SimpleAuction {
// Parameters of the auction. Times are either
@@ -376,7 +376,7 @@ high or low invalid bids.
::
- pragma solidity ^0.4.20; // should actually be 0.4.21
+ pragma solidity ^0.4.21;
contract BlindAuction {
struct Bid {
@@ -529,7 +529,7 @@ Safe Remote Purchase
::
- pragma solidity ^0.4.20; // should actually be 0.4.21
+ pragma solidity ^0.4.21;
contract Purchase {
uint public value;