mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #11376 from fulldecent/patch-19
Specify how blockhash will act for invalid inputs, fixes #11364
This commit is contained in:
		
						commit
						299dae4d1a
					
				| @ -68,7 +68,7 @@ or are general-use utility functions. | ||||
| Block and Transaction Properties | ||||
| -------------------------------- | ||||
| 
 | ||||
| - ``blockhash(uint blockNumber) returns (bytes32)``: hash of the given block - only works for 256 most recent, excluding current, blocks | ||||
| - ``blockhash(uint blockNumber) returns (bytes32)``: hash of the given block when ``blocknumber`` is one of the 256 most recent blocks; otherwise returns zero | ||||
| - ``block.chainid`` (``uint``): current chain id | ||||
| - ``block.coinbase`` (``address payable``): current block miner's address | ||||
| - ``block.difficulty`` (``uint``): current block difficulty | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user