diff --git a/core/tx_pool.go b/core/tx_pool.go index 3329d736a..81a726bae 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -1476,7 +1476,7 @@ func (pool *TxPool) truncateQueue() { addresses = append(addresses, addressByHeartbeat{addr, pool.beats[addr]}) } } - sort.Sort(addresses) + sort.Sort(sort.Reverse(addresses)) // Drop transactions until the total is below the limit or only locals remain for drop := queued - pool.config.GlobalQueue; drop > 0 && len(addresses) > 0; {