mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
All fields of BlockInfo now private.
This commit is contained in:
@@ -1188,7 +1188,7 @@ BOOST_AUTO_TEST_CASE(now)
|
||||
{
|
||||
char const* sourceCode = "contract test {\n"
|
||||
" function someInfo() returns (bool success) {\n"
|
||||
" return block.timestamp == now && now > 0;\n"
|
||||
" return block.timestamp() == now && now > 0;\n"
|
||||
" }\n"
|
||||
"}\n";
|
||||
compileAndRun(sourceCode);
|
||||
|
||||
Reference in New Issue
Block a user