fixes from review

This commit is contained in:
Ethan Buchman
2016-04-26 22:17:13 -04:00
parent 523a170c3e
commit 501c4e4bac
7 changed files with 6 additions and 131 deletions

View File

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