aboutsummaryrefslogtreecommitdiffstats
path: root/docs/common-patterns.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-09-24 20:46:23 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-09-26 02:03:25 +0800
commit3ca00c73f9bac055f44bb5e3e27fdcb7ced0ee5c (patch)
tree6679b9e4363b7df17df5136a0830ef4a105bd4b6 /docs/common-patterns.rst
parentc9f468b7172157752df64c4ff3d7bfab01650a65 (diff)
downloaddexon-solidity-3ca00c73f9bac055f44bb5e3e27fdcb7ced0ee5c.tar.gz
dexon-solidity-3ca00c73f9bac055f44bb5e3e27fdcb7ced0ee5c.tar.zst
dexon-solidity-3ca00c73f9bac055f44bb5e3e27fdcb7ced0ee5c.zip
Update version pragma in all documentation examples
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 d26e4377..5f20349d 100644
--- a/docs/common-patterns.rst
+++ b/docs/common-patterns.rst
@@ -130,7 +130,7 @@ restrictions highly readable.
::
- pragma solidity ^0.4.22;
+ pragma solidity >=0.4.22 <0.6.0;
contract AccessRestriction {
// These will be assigned at the construction
@@ -282,7 +282,7 @@ function finishes.
::
- pragma solidity ^0.4.22;
+ pragma solidity >=0.4.22 <0.6.0;
contract StateMachine {
enum Stages {