aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethereum
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-18 20:17:24 +0800
committerobscuren <geffobscura@gmail.com>2014-12-18 20:17:24 +0800
commit2d09e67713757e2a80eb614562c97f962af36cf7 (patch)
tree896f70825f9048ec569ad78ae77018435210b9e9 /cmd/ethereum
parent49e0267fe76cfd13eaf3e5e26caa637b93dbdd29 (diff)
downloadgo-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.go2
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 {