diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-18 20:19:41 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-18 20:19:41 +0800 |
commit | 721e8ae93f9b8918ff4bc74af86c530bacacea00 (patch) | |
tree | ee33bd346e396f56d6462f99de9ca7b5dac9c586 /cmd/ethereum | |
parent | e6fdf0c9f7564b8b08cf428e03af66fc423adcc1 (diff) | |
parent | 2d09e67713757e2a80eb614562c97f962af36cf7 (diff) | |
download | dexon-721e8ae93f9b8918ff4bc74af86c530bacacea00.tar.gz dexon-721e8ae93f9b8918ff4bc74af86c530bacacea00.tar.zst dexon-721e8ae93f9b8918ff4bc74af86c530bacacea00.zip |
Merged develop
Diffstat (limited to 'cmd/ethereum')
-rw-r--r-- | cmd/ethereum/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go index 4f87ef17b..da09e0b58 100644 --- a/cmd/ethereum/main.go +++ b/cmd/ethereum/main.go @@ -77,7 +77,7 @@ func main() { var block *types.Block if len(DumpHash) == 0 && DumpNumber == -1 { - block = ethereum.ChainManager().CurrentBlock + block = ethereum.ChainManager().CurrentBlock() } else if len(DumpHash) > 0 { block = ethereum.ChainManager().GetBlock(ethutil.Hex2Bytes(DumpHash)) } else { |