aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/gui.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-18 07:35:42 +0800
committerobscuren <geffobscura@gmail.com>2014-08-18 07:35:42 +0800
commita8409b0a8bfa7f8434ede495094fd8d892c28c91 (patch)
treef9ed41441280ad919da8be7d82a522209c30995b /ethereal/gui.go
parent5ae3deea86a4916eee07b30195da280957e2fd2f (diff)
downloaddexon-a8409b0a8bfa7f8434ede495094fd8d892c28c91.tar.gz
dexon-a8409b0a8bfa7f8434ede495094fd8d892c28c91.tar.zst
dexon-a8409b0a8bfa7f8434ede495094fd8d892c28c91.zip
Implementing new wallet views
Diffstat (limited to 'ethereal/gui.go')
-rw-r--r--ethereal/gui.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/ethereal/gui.go b/ethereal/gui.go
index 7a36a8b02..1765c3fb2 100644
--- a/ethereal/gui.go
+++ b/ethereal/gui.go
@@ -334,7 +334,6 @@ func (gui *Gui) readPreviousTransactions() {
}
func (gui *Gui) processBlock(block *ethchain.Block, initial bool) {
- //name := ethpub.FindNameInNameReg(gui.eth.StateManager(), block.Coinbase)
name := strings.Trim(gui.pipe.World().Config().Get("NameReg").Storage(block.Coinbase).Str(), "\x00")
b := ethpipe.NewJSBlock(block)
b.Name = name
@@ -491,7 +490,7 @@ func (gui *Gui) setPeerInfo() {
gui.win.Root().Call("setPeers", fmt.Sprintf("%d / %d", gui.eth.PeerCount(), gui.eth.MaxPeers))
gui.win.Root().Call("resetPeers")
- for _, peer := range gui.pipe.GetPeers() {
+ for _, peer := range gui.pipe.Peers() {
gui.win.Root().Call("addPeer", peer)
}
}