Docs: change >0.6.99 <0.8.0 to >=0.7.0

This commit is contained in:
Harikrishnan Mulackal
2020-09-28 11:14:45 +02:00
parent f7233f15eb
commit 710231e2b1
14 changed files with 31 additions and 31 deletions
+2 -2
View File
@@ -201,7 +201,7 @@ Never use tx.origin for authorization. Let's say you have a wallet contract like
::
// SPDX-License-Identifier: GPL-3.0
pragma solidity >0.6.99 <0.8.0;
pragma solidity >=0.7.0;
// THIS CONTRACT CONTAINS A BUG - DO NOT USE
contract TxUserWallet {
@@ -222,7 +222,7 @@ Now someone tricks you into sending Ether to the address of this attack wallet:
::
// SPDX-License-Identifier: GPL-3.0
pragma solidity >0.6.99 <0.8.0;
pragma solidity >=0.7.0;
interface TxUserWallet {
function transferTo(address payable dest, uint amount) external;