diff options
Diffstat (limited to 'mist/bindings.go')
-rw-r--r-- | mist/bindings.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mist/bindings.go b/mist/bindings.go index aa8bba1e4..972e4e8ed 100644 --- a/mist/bindings.go +++ b/mist/bindings.go @@ -96,9 +96,9 @@ func (self *Gui) DumpState(hash, path string) { var block *ethchain.Block if hash[0] == '#' { i, _ := strconv.Atoi(hash[1:]) - block = self.eth.BlockChain().GetBlockByNumber(uint64(i)) + block = self.eth.ChainManager().GetBlockByNumber(uint64(i)) } else { - block = self.eth.BlockChain().GetBlock(ethutil.Hex2Bytes(hash)) + block = self.eth.ChainManager().GetBlock(ethutil.Hex2Bytes(hash)) } if block == nil { |