aboutsummaryrefslogtreecommitdiffstats
path: root/miner/miner.go
diff options
context:
space:
mode:
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
}
}