aboutsummaryrefslogtreecommitdiffstats
path: root/miner/miner.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-22 00:59:26 +0800
committerobscuren <geffobscura@gmail.com>2015-05-22 00:59:26 +0800
commit8c25a837086c8e1f5471b4dc24afb6e5045e21cc (patch)
tree05471c7e1862733478b08e18bd7ed9419f7f7297 /miner/miner.go
parentf1cc3619f5bed55d803532f65f80b38fa760664b (diff)
parent3ea9868b656077c38af5ea8590761c3218ce558e (diff)
downloadgo-tangerine-8c25a837086c8e1f5471b4dc24afb6e5045e21cc.tar
go-tangerine-8c25a837086c8e1f5471b4dc24afb6e5045e21cc.tar.gz
go-tangerine-8c25a837086c8e1f5471b4dc24afb6e5045e21cc.tar.bz2
go-tangerine-8c25a837086c8e1f5471b4dc24afb6e5045e21cc.tar.lz
go-tangerine-8c25a837086c8e1f5471b4dc24afb6e5045e21cc.tar.xz
go-tangerine-8c25a837086c8e1f5471b4dc24afb6e5045e21cc.tar.zst
go-tangerine-8c25a837086c8e1f5471b4dc24afb6e5045e21cc.zip
Merge branch 'release/0.9.23' into develop
Diffstat (limited to 'miner/miner.go')
-rw-r--r--miner/miner.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/miner/miner.go b/miner/miner.go
index c9427f302..4e99245f8 100644
--- a/miner/miner.go
+++ b/miner/miner.go
@@ -65,6 +65,8 @@ func (self *Miner) update() {
}
// unsubscribe. we're only interested in this event once
events.Unsubscribe()
+ // stop immediately and ignore all further pending events
+ break
}
}