diff options
Diffstat (limited to 'ethereal/gui.go')
-rw-r--r-- | ethereal/gui.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ethereal/gui.go b/ethereal/gui.go index ea91622c6..1719d41b2 100644 --- a/ethereal/gui.go +++ b/ethereal/gui.go @@ -216,7 +216,9 @@ func (gui *Gui) loadAddressBook() { nameReg := ethpub.EthereumConfig(gui.eth.StateManager()).NameReg() if nameReg != nil { nameReg.State().EachStorage(func(name string, value *ethutil.Value) { - gui.win.Root().Call("addAddress", struct{ Name, Address string }{name, ethutil.Bytes2Hex(value.Bytes())}) + if name[0] != 0 { + gui.win.Root().Call("addAddress", struct{ Name, Address string }{name, ethutil.Bytes2Hex(value.Bytes())}) + } }) } } |