aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/gui.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/gui.go')
-rw-r--r--ethereal/gui.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/ethereal/gui.go b/ethereal/gui.go
index d816a774f..d76db2ade 100644
--- a/ethereal/gui.go
+++ b/ethereal/gui.go
@@ -220,8 +220,9 @@ func (gui *Gui) loadAddressBook() {
nameReg := ethpub.EthereumConfig(gui.eth.StateManager()).NameReg()
if nameReg != nil {
- nameReg.State().EachStorage(func(name string, value *ethutil.Value) {
+ nameReg.EachStorage(func(name string, value *ethutil.Value) {
if name[0] != 0 {
+ value.Decode()
gui.win.Root().Call("addAddress", struct{ Name, Address string }{name, ethutil.Bytes2Hex(value.Bytes())})
}
})