changed name for ethutil hex functions; and access to keyring via keyManager

This commit is contained in:
zelig
2014-06-29 20:39:45 +01:00
parent 8aea468744
commit 098f7f23ce
5 changed files with 8 additions and 8 deletions

View File

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