From 7f31ec33981fb9c2a5659ed24090ec84217dba54 Mon Sep 17 00:00:00 2001 From: Silas Davis Date: Fri, 16 Sep 2016 17:08:31 +0200 Subject: [PATCH] Fix doc comment on mempool reap --- mempool/mempool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mempool/mempool.go b/mempool/mempool.go index 34df870f..acc52ae6 100644 --- a/mempool/mempool.go +++ b/mempool/mempool.go @@ -239,7 +239,7 @@ func (mem *Mempool) resCbRecheck(req *tmsp.Request, res *tmsp.Response) { } // 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 { mem.proxyMtx.Lock() defer mem.proxyMtx.Unlock()