aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethereum/main.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-18 20:00:01 +0800
committerobscuren <geffobscura@gmail.com>2015-03-18 20:00:01 +0800
commit0a1eeca41e6ba5920ba65d9b41654768299bc7e3 (patch)
tree0c286872355608c317f9e0ec1897bb79386ae94f /cmd/ethereum/main.go
parent942980609fb8a36873689bd3bd0a15488f327d56 (diff)
downloadgo-tangerine-0a1eeca41e6ba5920ba65d9b41654768299bc7e3.tar
go-tangerine-0a1eeca41e6ba5920ba65d9b41654768299bc7e3.tar.gz
go-tangerine-0a1eeca41e6ba5920ba65d9b41654768299bc7e3.tar.bz2
go-tangerine-0a1eeca41e6ba5920ba65d9b41654768299bc7e3.tar.lz
go-tangerine-0a1eeca41e6ba5920ba65d9b41654768299bc7e3.tar.xz
go-tangerine-0a1eeca41e6ba5920ba65d9b41654768299bc7e3.tar.zst
go-tangerine-0a1eeca41e6ba5920ba65d9b41654768299bc7e3.zip
conversions. -compilable-
Diffstat (limited to 'cmd/ethereum/main.go')
-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 3b952dd79..459059e6c 100644
--- a/cmd/ethereum/main.go
+++ b/cmd/ethereum/main.go
@@ -302,7 +302,7 @@ func dump(ctx *cli.Context) {
for _, arg := range ctx.Args() {
var block *types.Block
if hashish(arg) {
- block = chainmgr.GetBlock(common.Hex2Bytes(arg))
+ block = chainmgr.GetBlock(common.HexToHash(arg))
} else {
num, _ := strconv.Atoi(arg)
block = chainmgr.GetBlockByNumber(uint64(num))