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
This commit is contained in:
Chris Ward
2019-01-07 14:20:10 +01:00
parent aca9e58145
commit cefc6c433e
8 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -183,7 +183,7 @@ Never use tx.origin for authorization. Let's say you have a wallet contract like
::
pragma solidity >0.4.99 <0.6.0;
pragma solidity ^0.5.0;
// THIS CONTRACT CONTAINS A BUG - DO NOT USE
contract TxUserWallet {
@@ -203,7 +203,7 @@ Now someone tricks you into sending ether to the address of this attack wallet:
::
pragma solidity >0.4.99 <0.6.0;
pragma solidity ^0.5.0;
interface TxUserWallet {
function transferTo(address payable dest, uint amount) external;