Enforcing error on msg.gas and block.blockhash()

This commit is contained in:
Leonardo Alt
2018-07-04 11:42:05 +02:00
parent 533d5d4b1c
commit 8202d512e0
9 changed files with 20 additions and 68 deletions
+1 -1
View File
@@ -1856,7 +1856,7 @@ BOOST_AUTO_TEST_CASE(uncalled_blockhash)
contract C {
function f() public view returns (bytes32)
{
return (block.blockhash)(block.number - 1);
return (blockhash)(block.number - 1);
}
}
)";