diff options
Diffstat (limited to 'ethereal/ui/ext_app.go')
-rw-r--r-- | ethereal/ui/ext_app.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethereal/ui/ext_app.go b/ethereal/ui/ext_app.go index d1a256cdb..0230c46ab 100644 --- a/ethereal/ui/ext_app.go +++ b/ethereal/ui/ext_app.go @@ -121,10 +121,10 @@ out: func (app *ExtApplication) Watch(addr, storageAddr string) { var event string if len(storageAddr) == 0 { - event = "object:" + string(ethutil.FromHex(addr)) + event = "object:" + string(ethutil.Hex2Bytes(addr)) app.lib.eth.Reactor().Subscribe(event, app.changeChan) } else { - event = "storage:" + string(ethutil.FromHex(addr)) + ":" + string(ethutil.FromHex(storageAddr)) + event = "storage:" + string(ethutil.Hex2Bytes(addr)) + ":" + string(ethutil.Hex2Bytes(storageAddr)) app.lib.eth.Reactor().Subscribe(event, app.changeChan) } |