Fix doc comment on mempool reap
This commit is contained in:
parent
121714c040
commit
7f31ec3398
|
@ -239,7 +239,7 @@ func (mem *Mempool) resCbRecheck(req *tmsp.Request, res *tmsp.Response) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the valid transactions remaining
|
// Get the valid transactions remaining
|
||||||
// If maxTxs is 0, there is no cap.
|
// If maxTxs is -1, there is no cap on returned transactions.
|
||||||
func (mem *Mempool) Reap(maxTxs int) []types.Tx {
|
func (mem *Mempool) Reap(maxTxs int) []types.Tx {
|
||||||
mem.proxyMtx.Lock()
|
mem.proxyMtx.Lock()
|
||||||
defer mem.proxyMtx.Unlock()
|
defer mem.proxyMtx.Unlock()
|
||||||
|
|
Loading…
Reference in New Issue