mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Enforcing error on msg.gas and block.blockhash()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
)";
|
||||
|
||||
Reference in New Issue
Block a user