aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ui/qml_app.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/qml_app.go
parent8aea468744e223f310da98f7478fb5b468d99563 (diff)
downloadgo-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.tar.gz
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/qml_app.go')
-rw-r--r--ethereal/ui/qml_app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/ui/qml_app.go b/ethereal/ui/qml_app.go
index 39ab7f922..d23fdd110 100644
--- a/ethereal/ui/qml_app.go
+++ b/ethereal/ui/qml_app.go
@@ -38,7 +38,7 @@ func (app *QmlApplication) NewWatcher(quitChan chan bool) {
// Events
func (app *QmlApplication) NewBlock(block *ethchain.Block) {
- pblock := &ethpub.PBlock{Number: int(block.BlockInfo().Number), Hash: ethutil.Hex(block.Hash())}
+ pblock := &ethpub.PBlock{Number: int(block.BlockInfo().Number), Hash: ethutil.Bytes2Hex(block.Hash())}
app.win.Call("onNewBlockCb", pblock)
}