aboutsummaryrefslogtreecommitdiffstats
path: root/docs/units-and-global-variables.rst
diff options
context:
space:
mode:
authorFederico Bond <federicobond@gmail.com>2016-11-02 07:03:20 +0800
committerFederico Bond <federicobond@gmail.com>2016-11-02 07:03:20 +0800
commit739ee88fa72739d432f626cd862b796bc0ee797c (patch)
treebbf32fbff236206fd2813205c9b7dbe716d56087 /docs/units-and-global-variables.rst
parent4f1b5d26f7942117b44f199b0e73ce648b90bafb (diff)
downloaddexon-solidity-739ee88fa72739d432f626cd862b796bc0ee797c.tar.gz
dexon-solidity-739ee88fa72739d432f626cd862b796bc0ee797c.tar.zst
dexon-solidity-739ee88fa72739d432f626cd862b796bc0ee797c.zip
Add clarification for block.blockhash
Diffstat (limited to 'docs/units-and-global-variables.rst')
-rw-r--r--docs/units-and-global-variables.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst
index 3499bc71..dd3d4be8 100644
--- a/docs/units-and-global-variables.rst
+++ b/docs/units-and-global-variables.rst
@@ -50,7 +50,7 @@ namespace and are mainly used to provide information about the blockchain.
Block and Transaction Properties
--------------------------------
-- ``block.blockhash(uint blockNumber) returns (bytes32)``: hash of the given block - only works for 256 most recent blocks
+- ``block.blockhash(uint blockNumber) returns (bytes32)``: hash of the given block - only works for 256 most recent blocks excluding current
- ``block.coinbase`` (``address``): current block miner's address
- ``block.difficulty`` (``uint``): current block difficulty
- ``block.gaslimit`` (``uint``): current block gaslimit