aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ui/html_container.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-06-30 03:39:45 +0800
committerzelig <viktor.tron@gmail.com>2014-06-30 03:39:45 +0800
commit098f7f23ce62d3f0c60d30d325576de93795cc4b (patch)
tree0acb745dd7b4bced8c196cad552d6ff4d678bb5d /ethereal/ui/html_container.go
parent8aea468744e223f310da98f7478fb5b468d99563 (diff)
downloadgo-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.tar
go-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.tar.gz
go-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.tar.bz2
go-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.tar.lz
go-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.tar.xz
go-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.tar.zst
go-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.zip
changed name for ethutil hex functions; and access to keyring via keyManager
Diffstat (limited to 'ethereal/ui/html_container.go')
-rw-r--r--ethereal/ui/html_container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/ui/html_container.go b/ethereal/ui/html_container.go
index d7dc80af7..f2ebd840c 100644
--- a/ethereal/ui/html_container.go
+++ b/ethereal/ui/html_container.go
@@ -116,7 +116,7 @@ func (app *HtmlApplication) Window() *qml.Window {
}
func (app *HtmlApplication) NewBlock(block *ethchain.Block) {
- b := &ethpub.PBlock{Number: int(block.BlockInfo().Number), Hash: ethutil.Hex(block.Hash())}
+ b := &ethpub.PBlock{Number: int(block.BlockInfo().Number), Hash: ethutil.Bytes2Hex(block.Hash())}
app.webView.Call("onNewBlockCb", b)
}