All fields of BlockInfo now private.

This commit is contained in:
Gav Wood
2015-07-19 21:10:13 +02:00
parent c30de11a76
commit 07a29389d6
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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);