aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/html_container.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-23 21:44:45 +0800
committerobscuren <geffobscura@gmail.com>2014-12-23 21:44:45 +0800
commite2e3fa3d11b37c8a22ebafe9c02dfd8089ac4d51 (patch)
tree98c7cc76b5c79f22073e87f9224626f4904c529a /cmd/mist/html_container.go
parent9e5257b83b8572077b9c26e4ae9a9443f765bf6e (diff)
downloaddexon-e2e3fa3d11b37c8a22ebafe9c02dfd8089ac4d51.tar
dexon-e2e3fa3d11b37c8a22ebafe9c02dfd8089ac4d51.tar.gz
dexon-e2e3fa3d11b37c8a22ebafe9c02dfd8089ac4d51.tar.bz2
dexon-e2e3fa3d11b37c8a22ebafe9c02dfd8089ac4d51.tar.lz
dexon-e2e3fa3d11b37c8a22ebafe9c02dfd8089ac4d51.tar.xz
dexon-e2e3fa3d11b37c8a22ebafe9c02dfd8089ac4d51.tar.zst
dexon-e2e3fa3d11b37c8a22ebafe9c02dfd8089ac4d51.zip
Updated Mist to use new blocks
Diffstat (limited to 'cmd/mist/html_container.go')
-rw-r--r--cmd/mist/html_container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mist/html_container.go b/cmd/mist/html_container.go
index b3fc219fa..bd11ccd57 100644
--- a/cmd/mist/html_container.go
+++ b/cmd/mist/html_container.go
@@ -139,7 +139,7 @@ func (app *HtmlApplication) Window() *qml.Window {
}
func (app *HtmlApplication) NewBlock(block *types.Block) {
- b := &xeth.JSBlock{Number: int(block.BlockInfo().Number), Hash: ethutil.Bytes2Hex(block.Hash())}
+ b := &xeth.JSBlock{Number: int(block.NumberU64()), Hash: ethutil.Bytes2Hex(block.Hash())}
app.webView.Call("onNewBlockCb", b)
}