diff --git a/core/types/transaction.go b/core/types/transaction.go index 27ae993a..01b9f374 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -533,7 +533,7 @@ func NewTransactionsByPriceAndNonce(signer Signer, txs map[common.Address]Transa // Remove transaction if sender doesn't match from, or if wrapping fails. if acc != from || err != nil { delete(txs, from) - count++ + count += len(accTxs) continue } heads = append(heads, wrapped)