aboutsummaryrefslogtreecommitdiffstats
path: root/docs/control-structures.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r--docs/control-structures.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst
index 879e26f7..f3c351dd 100644
--- a/docs/control-structures.rst
+++ b/docs/control-structures.rst
@@ -477,7 +477,7 @@ a message string for ``require``, but not for ``assert``.
::
- pragma solidity ^0.4.0;
+ pragma solidity ^0.4.22;
contract Sharer {
function sendHalf(address addr) public payable returns (uint balance) {
@@ -524,7 +524,7 @@ The following example shows how an error string can be used together with revert
::
- pragma solidity ^0.4.0;
+ pragma solidity ^0.4.22;
contract VendingMachine {
function buy(uint amount) payable {