aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/bindings.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-22 21:25:33 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-22 21:25:33 +0800
commitd186bf0dfece955feb797dda2b53cae8c89b786c (patch)
treec913a30268071eb3e831a79b109c5a29728d19d4 /cmd/mist/bindings.go
parent9682a3ef3ec72a871708a9bba1133fa59b58ccb5 (diff)
downloaddexon-d186bf0dfece955feb797dda2b53cae8c89b786c.tar.gz
dexon-d186bf0dfece955feb797dda2b53cae8c89b786c.tar.zst
dexon-d186bf0dfece955feb797dda2b53cae8c89b786c.zip
Fix Mist types build errors
Diffstat (limited to 'cmd/mist/bindings.go')
-rw-r--r--cmd/mist/bindings.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mist/bindings.go b/cmd/mist/bindings.go
index 5d08e7dd7..5d45d927e 100644
--- a/cmd/mist/bindings.go
+++ b/cmd/mist/bindings.go
@@ -67,7 +67,7 @@ func (self *Gui) DumpState(hash, path string) {
i, _ := strconv.Atoi(hash[1:])
block = self.eth.ChainManager().GetBlockByNumber(uint64(i))
} else {
- block = self.eth.ChainManager().GetBlock(common.Hex2Bytes(hash))
+ block = self.eth.ChainManager().GetBlock(common.HexToHash(hash))
}
if block == nil {