diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-23 21:44:45 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-23 21:44:45 +0800 |
commit | e2e3fa3d11b37c8a22ebafe9c02dfd8089ac4d51 (patch) | |
tree | 98c7cc76b5c79f22073e87f9224626f4904c529a /cmd/mist/qml_container.go | |
parent | 9e5257b83b8572077b9c26e4ae9a9443f765bf6e (diff) | |
download | dexon-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.go | 2 |
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) } |