diff options
author | Chris Ward <chris.ward@ethereum.org> | 2019-01-03 00:25:16 +0800 |
---|---|---|
committer | Chris Ward <chris.ward@ethereum.org> | 2019-01-07 21:20:10 +0800 |
commit | cefc6c433e1722364a1461a144b077e57e2ecafe (patch) | |
tree | ccb81630ace0da0ba436d6084d259f188ad90bf3 /docs/security-considerations.rst | |
parent | aca9e581454585fab494a87febb7da3278e3aa7b (diff) | |
download | dexon-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/security-considerations.rst')
-rw-r--r-- | docs/security-considerations.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/security-considerations.rst b/docs/security-considerations.rst index bd06276b..d83302a0 100644 --- a/docs/security-considerations.rst +++ b/docs/security-considerations.rst @@ -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; |