aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-14 01:03:16 +0800
committerobscuren <geffobscura@gmail.com>2015-02-14 01:03:16 +0800
commit0f3c25b26589f5667b618d6a91b73392d02ccd1e (patch)
tree9badb0df243fbb076c2f5b24c24faf3b779d6a96 /cmd/mist
parent790de35e7ff5235c83e081faf00aff35640cdcc6 (diff)
downloadgo-tangerine-0f3c25b26589f5667b618d6a91b73392d02ccd1e.tar.gz
go-tangerine-0f3c25b26589f5667b618d6a91b73392d02ccd1e.tar.zst
go-tangerine-0f3c25b26589f5667b618d6a91b73392d02ccd1e.zip
Propagate blocks
Diffstat (limited to 'cmd/mist')
-rw-r--r--cmd/mist/gui.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/mist/gui.go b/cmd/mist/gui.go
index 6d179eea1..484cda5ff 100644
--- a/cmd/mist/gui.go
+++ b/cmd/mist/gui.go
@@ -412,9 +412,7 @@ func (gui *Gui) update() {
switch ev := ev.(type) {
case core.NewBlockEvent:
gui.processBlock(ev.Block, false)
- if bytes.Compare(ev.Block.Coinbase(), gui.address()) == 0 {
- gui.setWalletValue(gui.eth.ChainManager().State().GetBalance(gui.address()), nil)
- }
+ gui.setWalletValue(gui.eth.ChainManager().State().GetBalance(gui.address()), nil)
case core.TxPreEvent:
tx := ev.Tx