Reap takes maxTxs

This commit is contained in:
Jae Kwon
2016-03-06 15:08:32 -08:00
parent 03115cbf93
commit 2c1504f93c
4 changed files with 13 additions and 19 deletions

View File

@ -49,7 +49,7 @@ func TestSerialReap(t *testing.T) {
}
reapCheck := func(exp int) {
txs := mempool.Reap()
txs := mempool.Reap(0)
if len(txs) != exp {
t.Fatalf("Expected to reap %v txs but got %v", exp, len(txs))
}