diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-18 20:17:24 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-18 20:17:24 +0800 |
commit | 2d09e67713757e2a80eb614562c97f962af36cf7 (patch) | |
tree | 896f70825f9048ec569ad78ae77018435210b9e9 /cmd/ethereum | |
parent | 49e0267fe76cfd13eaf3e5e26caa637b93dbdd29 (diff) | |
download | go-tangerine-2d09e67713757e2a80eb614562c97f962af36cf7.tar go-tangerine-2d09e67713757e2a80eb614562c97f962af36cf7.tar.gz go-tangerine-2d09e67713757e2a80eb614562c97f962af36cf7.tar.bz2 go-tangerine-2d09e67713757e2a80eb614562c97f962af36cf7.tar.lz go-tangerine-2d09e67713757e2a80eb614562c97f962af36cf7.tar.xz go-tangerine-2d09e67713757e2a80eb614562c97f962af36cf7.tar.zst go-tangerine-2d09e67713757e2a80eb614562c97f962af36cf7.zip |
Updated to new methods
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 43551fb3a..9efc8e9dc 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 { |