aboutsummaryrefslogtreecommitdiffstats
path: root/docs/common-patterns.rst
diff options
context:
space:
mode:
authorChris Ward <chris.ward@ethereum.org>2019-01-03 00:25:16 +0800
committerChris Ward <chris.ward@ethereum.org>2019-01-07 21:20:10 +0800
commitcefc6c433e1722364a1461a144b077e57e2ecafe (patch)
treeccb81630ace0da0ba436d6084d259f188ad90bf3 /docs/common-patterns.rst
parentaca9e581454585fab494a87febb7da3278e3aa7b (diff)
downloaddexon-solidity-cefc6c433e1722364a1461a144b077e57e2ecafe.tar.gz
dexon-solidity-cefc6c433e1722364a1461a144b077e57e2ecafe.tar.zst
dexon-solidity-cefc6c433e1722364a1461a144b077e57e2ecafe.zip
Update non-existant pragma 0.4.99 to 0.5.0
Use correct syntax for pragma Change pragma syntax One more change to pragma syntax
Diffstat (limited to 'docs/common-patterns.rst')
-rw-r--r--docs/common-patterns.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/common-patterns.rst b/docs/common-patterns.rst
index 84c18936..3704b730 100644
--- a/docs/common-patterns.rst
+++ b/docs/common-patterns.rst
@@ -28,7 +28,7 @@ become the new richest.
::
- pragma solidity >0.4.99 <0.6.0;
+ pragma solidity ^0.5.0;
contract WithdrawalContract {
address public richest;
@@ -65,7 +65,7 @@ This is as opposed to the more intuitive sending pattern:
::
- pragma solidity >0.4.99 <0.6.0;
+ pragma solidity ^0.5.0;
contract SendContract {
address payable public richest;