diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-26 00:40:45 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-26 02:04:34 +0800 |
commit | e3e9ce53d7c8d5c1228ad7165660c8cb014b0f36 (patch) | |
tree | 58b563fd53b6319a3ada3c5f592c7cb04360a590 /docs/common-patterns.rst | |
parent | 3ca00c73f9bac055f44bb5e3e27fdcb7ced0ee5c (diff) | |
download | dexon-solidity-e3e9ce53d7c8d5c1228ad7165660c8cb014b0f36.tar.gz dexon-solidity-e3e9ce53d7c8d5c1228ad7165660c8cb014b0f36.tar.zst dexon-solidity-e3e9ce53d7c8d5c1228ad7165660c8cb014b0f36.zip |
Set 0.5.x specific example code to be compilable with >0.4.99 <0.6.0 (e.g. 0.5.x only)
Diffstat (limited to 'docs/common-patterns.rst')
-rw-r--r-- | docs/common-patterns.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/common-patterns.rst b/docs/common-patterns.rst index 5f20349d..56536dcc 100644 --- a/docs/common-patterns.rst +++ b/docs/common-patterns.rst @@ -28,7 +28,7 @@ become the new richest. :: - pragma solidity >0.4.24; + pragma solidity >0.4.99 <0.6.0; contract WithdrawalContract { address public richest; @@ -65,7 +65,7 @@ This is as opposed to the more intuitive sending pattern: :: - pragma solidity >0.4.24; + pragma solidity >0.4.99 <0.6.0; contract SendContract { address payable public richest; |