aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/qml_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/qml_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/qml_container.go')
-rw-r--r--cmd/mist/qml_container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mist/qml_container.go b/cmd/mist/qml_container.go
index a0a46f9b1..ed24737d0 100644
--- a/cmd/mist/qml_container.go
+++ b/cmd/mist/qml_container.go
@@ -66,7 +66,7 @@ func (app *QmlApplication) NewWatcher(quitChan chan bool) {
// Events
func (app *QmlApplication) NewBlock(block *types.Block) {
- pblock := &xeth.JSBlock{Number: int(block.BlockInfo().Number), Hash: ethutil.Bytes2Hex(block.Hash())}
+ pblock := &xeth.JSBlock{Number: int(block.NumberU64()), Hash: ethutil.Bytes2Hex(block.Hash())}
app.win.Call("onNewBlockCb", pblock)
}