Compare commits

...

2 Commits

Author SHA1 Message Date
Emmanuel Odeke
acc161f7cc version: bump to v0.10.5 2017-11-01 07:03:14 -07:00
Anton Kaliaev
eebc7f9511 only notify when there are some txs (Refs #753) 2017-11-01 06:19:39 -07:00
2 changed files with 6 additions and 3 deletions

View File

@@ -269,7 +269,10 @@ func (mem *Mempool) resCbRecheck(req *abci.Request, res *abci.Response) {
atomic.StoreInt32(&mem.rechecking, 0)
mem.logger.Info("Done rechecking txs")
mem.notifyTxsAvailable()
// incase the recheck removed all txs
if mem.Size() > 0 {
mem.notifyTxsAvailable()
}
}
default:
// ignore other messages

View File

@@ -2,11 +2,11 @@ package version
const Maj = "0"
const Min = "10"
const Fix = "4"
const Fix = "5"
var (
// The full version string
Version = "0.10.4"
Version = "0.10.5"
// GitCommit is set with --ldflags "-X main.gitCommit=$(git rev-parse HEAD)"
GitCommit string