For namreg only show items starting without leading zeros.
This commit is contained in:
parent
e5b45d1c86
commit
7d0004f058
@ -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) {
|
||||
if name[0] != 0 {
|
||||
gui.win.Root().Call("addAddress", struct{ Name, Address string }{name, ethutil.Bytes2Hex(value.Bytes())})
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user