All fields of BlockInfo now private.

This commit is contained in:
Gav Wood
2015-07-17 08:46:41 +02:00
parent 57f7839049
commit 80c55ce87a
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1187,7 +1187,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);