diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2018-04-16 05:12:28 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2018-04-16 05:12:28 +0800 |
commit | 8a7224683b8fbf7c822922dca35ee2eda8e41d79 (patch) | |
tree | 4151fa8699b050bac6fe919d3d6ba51115ffd29b /docs/control-structures.rst | |
parent | 73ca3e8a1eaf929dac60ce0a154975fa46b2040e (diff) | |
download | dexon-solidity-8a7224683b8fbf7c822922dca35ee2eda8e41d79.tar.gz dexon-solidity-8a7224683b8fbf7c822922dca35ee2eda8e41d79.tar.zst dexon-solidity-8a7224683b8fbf7c822922dca35ee2eda8e41d79.zip |
Docs: Update solidity version for revert with reason
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r-- | docs/control-structures.rst | 4 |
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 { |