Updated Mist to use new blocks

This commit is contained in:
obscuren
2014-12-23 14:44:45 +01:00
parent 9e5257b83b
commit e2e3fa3d11
3 changed files with 6 additions and 6 deletions

View File

@ -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)
}