Cap places a hard limit on the number of items, returning all transactions exceeding that limit.
(threshold int)
| 367 | // Cap places a hard limit on the number of items, returning all transactions |
| 368 | // exceeding that limit. |
| 369 | func (l *txList) Cap(threshold int) types.Transactions { |
| 370 | return l.txs.Cap(threshold) |
| 371 | } |
| 372 | |
| 373 | // Remove deletes a transaction from the maintained list, returning whether the |
| 374 | // transaction was found, and also returning any transaction invalidated due to |
no outgoing calls
no test coverage detected