core: remove unused error from TxPool.Pending (#23720)

This commit is contained in:
jwasinger
2021-10-13 23:00:45 +02:00
committed by GitHub
parent 79b727bc8a
commit 011fe3eb5e
8 changed files with 9 additions and 23 deletions

View File

@ -66,7 +66,7 @@ type txPool interface {
// Pending should return pending transactions.
// The slice should be modifiable by the caller.
Pending(enforceTips bool) (map[common.Address]types.Transactions, error)
Pending(enforceTips bool) map[common.Address]types.Transactions
// SubscribeNewTxsEvent should return an event subscription of
// NewTxsEvent and send events to the given channel.