core: remove unused error from TxPool.Pending (#23720)
This commit is contained in:
@ -43,7 +43,7 @@ func (h *handler) syncTransactions(p *eth.Peer) {
|
||||
//
|
||||
// TODO(karalabe): Figure out if we could get away with random order somehow
|
||||
var txs types.Transactions
|
||||
pending, _ := h.txpool.Pending(false)
|
||||
pending := h.txpool.Pending(false)
|
||||
for _, batch := range pending {
|
||||
txs = append(txs, batch...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user