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/html_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/html_container.go')
-rw-r--r-- | cmd/mist/html_container.go | 2 |
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) } |