diff --git a/mempool/mempool.go b/mempool/mempool.go index 07b267c4..dde59eb8 100644 --- a/mempool/mempool.go +++ b/mempool/mempool.go @@ -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