diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-17 23:12:55 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-17 23:12:55 +0800 |
commit | 567428fb3489d639cd7fdcd50e4362be52745ec4 (patch) | |
tree | 99e4353cc44bb392ef6583bb82a4e386ead6587c /cmd | |
parent | 815ead71078d63c6d07cdee8b91679e307bedcb2 (diff) | |
download | dexon-567428fb3489d639cd7fdcd50e4362be52745ec4.tar.gz dexon-567428fb3489d639cd7fdcd50e4362be52745ec4.tar.zst dexon-567428fb3489d639cd7fdcd50e4362be52745ec4.zip |
Filter and mutex locks added
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/mist/assets/examples/coin.html | 5 | ||||
-rw-r--r-- | cmd/mist/gui.go | 2 |
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)) |