aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/gui.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-13 16:52:30 +0800
committerobscuren <geffobscura@gmail.com>2014-08-13 16:52:30 +0800
commitd518423b9c493bf5b42e6575db9a32106812e6bc (patch)
tree17bb79aee6e218fd63f2a3b03a28f2f0d7faf1ca /ethereal/gui.go
parent1fa792eae7584f61624121e46dbad82484109c64 (diff)
downloaddexon-d518423b9c493bf5b42e6575db9a32106812e6bc.tar
dexon-d518423b9c493bf5b42e6575db9a32106812e6bc.tar.gz
dexon-d518423b9c493bf5b42e6575db9a32106812e6bc.tar.bz2
dexon-d518423b9c493bf5b42e6575db9a32106812e6bc.tar.lz
dexon-d518423b9c493bf5b42e6575db9a32106812e6bc.tar.xz
dexon-d518423b9c493bf5b42e6575db9a32106812e6bc.tar.zst
dexon-d518423b9c493bf5b42e6575db9a32106812e6bc.zip
Updated DNS Lookup
Diffstat (limited to 'ethereal/gui.go')
-rw-r--r--ethereal/gui.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethereal/gui.go b/ethereal/gui.go
index 78a930e02..a4e3efb19 100644
--- a/ethereal/gui.go
+++ b/ethereal/gui.go
@@ -387,12 +387,12 @@ func (gui *Gui) update() {
if bytes.Compare(tx.Sender(), gui.address()) == 0 {
object.SubAmount(tx.Value)
- gui.win.Root().Call("addTx", "post", ethpub.NewPTx(tx), "send")
+ gui.getObjectByName("transactionView").Call("addTx", "post", ethpub.NewPTx(tx), "send")
gui.txDb.Put(tx.Hash(), tx.RlpEncode())
} else if bytes.Compare(tx.Recipient, gui.address()) == 0 {
object.AddAmount(tx.Value)
- gui.win.Root().Call("addTx", "post", ethpub.NewPTx(tx), "recv")
+ gui.getObjectByName("transactionView").Call("addTx", "post", ethpub.NewPTx(tx), "recv")
gui.txDb.Put(tx.Hash(), tx.RlpEncode())
}