aboutsummaryrefslogtreecommitdiffstats
path: root/mist/bindings.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-20 18:03:31 +0800
committerobscuren <geffobscura@gmail.com>2014-10-20 18:03:31 +0800
commit6ea44c466a5c3383dd4e21a57423edbf33a52e6f (patch)
treeda7c995341607f5b9dc362460ed762dc3f8541c2 /mist/bindings.go
parent82a2e4fe283d15eaacc554544131bd6669210f79 (diff)
downloadgo-tangerine-6ea44c466a5c3383dd4e21a57423edbf33a52e6f.tar
go-tangerine-6ea44c466a5c3383dd4e21a57423edbf33a52e6f.tar.gz
go-tangerine-6ea44c466a5c3383dd4e21a57423edbf33a52e6f.tar.bz2
go-tangerine-6ea44c466a5c3383dd4e21a57423edbf33a52e6f.tar.lz
go-tangerine-6ea44c466a5c3383dd4e21a57423edbf33a52e6f.tar.xz
go-tangerine-6ea44c466a5c3383dd4e21a57423edbf33a52e6f.tar.zst
go-tangerine-6ea44c466a5c3383dd4e21a57423edbf33a52e6f.zip
Updated to reflect BlockChain changes
Diffstat (limited to 'mist/bindings.go')
-rw-r--r--mist/bindings.go4
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 {