Tests/Docs after stricter explicit conversion.

This commit is contained in:
hrkrshnn
2020-12-03 16:51:05 +01:00
committed by chriseth
parent 92ab32e532
commit 40244c5469
25 changed files with 183 additions and 64 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ restrictions highly readable.
{
owner = _newOwner;
// just some example condition
if (uint(owner) & 0 == 1)
if (uint160(owner) & 0 == 1)
// This did not refund for Solidity
// before version 0.4.0.
return;