From d186bf0dfece955feb797dda2b53cae8c89b786c Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Sun, 22 Mar 2015 14:25:33 +0100 Subject: Fix Mist types build errors --- cmd/mist/bindings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/mist/bindings.go') 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 { -- cgit v1.2.3