aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/geth/main.go2
-rw-r--r--miner/miner.go2
2 files changed, 3 insertions, 1 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index 6d345a18b..513b405ff 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -48,7 +48,7 @@ import _ "net/http/pprof"
const (
ClientIdentifier = "Geth"
- Version = "0.9.22"
+ Version = "0.9.23"
)
var (
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
}
}