Skip to content

Commit 3621143

Browse files
Ganesha UpadhyayaGanesha Upadhyaya
authored andcommitted
fix indexer, comment failing tests for now, fix mempool bug, fix mock apps in tests
1 parent 9906aa8 commit 3621143

File tree

12 files changed

+749
-465
lines changed

12 files changed

+749
-465
lines changed

mempool/clist_mempool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ func (mem *CListMempool) ReapMaxTxs(max int) types.Txs {
572572
}
573573

574574
txs := make([]types.Tx, 0, length)
575-
for e := mem.txs.Front(); e != nil && len(txs) <= max; e = e.Next() {
575+
for e := mem.txs.Front(); e != nil && len(txs) < max; e = e.Next() {
576576
memTx := e.Value.(*mempoolTx)
577577
txs = append(txs, memTx.tx)
578578
}

0 commit comments

Comments
 (0)