fixed compilation tests and upgraded ext. tests branch

This commit is contained in:
Harikrishnan Mulackal
2020-05-05 21:11:15 +05:30
parent aed6c22318
commit 92cf61d4f9
19 changed files with 65 additions and 103 deletions
+2 -2
View File
@@ -346,9 +346,9 @@ BOOST_AUTO_TEST_CASE(incorrect_storage_access_bug)
mapping(uint => uint) data;
function f() public returns (uint)
{
if (data[now] == 0)
if (data[block.timestamp] == 0)
data[uint(-7)] = 5;
return data[now];
return data[block.timestamp];
}
}
)";