aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-17 23:12:55 +0800
committerobscuren <geffobscura@gmail.com>2015-02-17 23:12:55 +0800
commit567428fb3489d639cd7fdcd50e4362be52745ec4 (patch)
tree99e4353cc44bb392ef6583bb82a4e386ead6587c /cmd
parent815ead71078d63c6d07cdee8b91679e307bedcb2 (diff)
downloadgo-tangerine-567428fb3489d639cd7fdcd50e4362be52745ec4.tar
go-tangerine-567428fb3489d639cd7fdcd50e4362be52745ec4.tar.gz
go-tangerine-567428fb3489d639cd7fdcd50e4362be52745ec4.tar.bz2
go-tangerine-567428fb3489d639cd7fdcd50e4362be52745ec4.tar.lz
go-tangerine-567428fb3489d639cd7fdcd50e4362be52745ec4.tar.xz
go-tangerine-567428fb3489d639cd7fdcd50e4362be52745ec4.tar.zst
go-tangerine-567428fb3489d639cd7fdcd50e4362be52745ec4.zip
Filter and mutex locks added
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mist/assets/examples/coin.html5
-rw-r--r--cmd/mist/gui.go2
2 files changed, 0 insertions, 7 deletions
diff --git a/cmd/mist/assets/examples/coin.html b/cmd/mist/assets/examples/coin.html
index ca7a9c0dd..cb9d471de 100644
--- a/cmd/mist/assets/examples/coin.html
+++ b/cmd/mist/assets/examples/coin.html
@@ -80,11 +80,6 @@
refresh();
});
- var ev = contract.SingleTransact({})
- ev.watch(function(log) {
- someElement.innerHTML += "tnaheousnthaoeu";
- });
-
eth.watch('chain').changed(function() {
refresh();
});
diff --git a/cmd/mist/gui.go b/cmd/mist/gui.go
index 9ce6ba650..886a5811b 100644
--- a/cmd/mist/gui.go
+++ b/cmd/mist/gui.go
@@ -394,7 +394,6 @@ func (gui *Gui) update() {
miningLabel := gui.getObjectByName("miningLabel")
events := gui.eth.EventMux().Subscribe(
- //eth.PeerListEvent{},
core.NewBlockEvent{},
core.TxPreEvent{},
core.TxPostEvent{},
@@ -410,7 +409,6 @@ func (gui *Gui) update() {
switch ev := ev.(type) {
case core.NewBlockEvent:
gui.processBlock(ev.Block, false)
- //gui.setWalletValue(gui.eth.ChainManager().State().GetBalance(gui.address()), nil)
balance := ethutil.CurrencyToString(gui.eth.ChainManager().State().GetBalance(gui.address()))
gui.getObjectByName("balanceLabel").Set("text", fmt.Sprintf("%v", balance))