mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 06:54:41 +00:00
drop mempool_reap. use block_size=-1 instead
This commit is contained in:
@@ -184,10 +184,6 @@ func (mem *Mempool) resCbRecheck(req *tmsp.Request, res *tmsp.Response) {
|
||||
|
||||
// Get the valid transactions remaining
|
||||
func (mem *Mempool) Reap() []types.Tx {
|
||||
if !config.GetBool("mempool_reap") {
|
||||
return []types.Tx{}
|
||||
}
|
||||
|
||||
mem.proxyMtx.Lock()
|
||||
defer mem.proxyMtx.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user