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 815bb267c..bfae97050 100644
--- a/ethereal/gui.go
+++ b/ethereal/gui.go
@@ -221,8 +221,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())})
}
})