Set 0.5.x specific example code to be compilable with >0.4.99 <0.6.0 (e.g. 0.5.x only)

This commit is contained in:
Alex Beregszaszi
2018-09-25 19:04:34 +01:00
parent 3ca00c73f9
commit e3e9ce53d7
8 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -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;