Merge branch 'develop' of github.com:ethereum/go-ethereum into feature/ethutil-refactor
This commit is contained in:
@ -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())})
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user