diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-01-22 18:05:17 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-01-22 18:33:34 +0800 |
commit | a2dc074b1ddffaf4e35758835bafe14cca5f0ea7 (patch) | |
tree | b9aa5c904aea0962eb7c103896b6a4ef4c32971c /core/transaction_pool.go | |
parent | 78f196409552466ff878a030e4069495a923c73e (diff) | |
download | go-tangerine-a2dc074b1ddffaf4e35758835bafe14cca5f0ea7.tar go-tangerine-a2dc074b1ddffaf4e35758835bafe14cca5f0ea7.tar.gz go-tangerine-a2dc074b1ddffaf4e35758835bafe14cca5f0ea7.tar.bz2 go-tangerine-a2dc074b1ddffaf4e35758835bafe14cca5f0ea7.tar.lz go-tangerine-a2dc074b1ddffaf4e35758835bafe14cca5f0ea7.tar.xz go-tangerine-a2dc074b1ddffaf4e35758835bafe14cca5f0ea7.tar.zst go-tangerine-a2dc074b1ddffaf4e35758835bafe14cca5f0ea7.zip |
core, core/types, miner: fix transaction nonce-price combo sort
Diffstat (limited to 'core/transaction_pool.go')
-rw-r--r-- | core/transaction_pool.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/transaction_pool.go b/core/transaction_pool.go index abd5bb7b7..54c0ddebb 100644 --- a/core/transaction_pool.go +++ b/core/transaction_pool.go @@ -376,7 +376,7 @@ func (self *TxPool) GetQueuedTransactions() types.Transactions { ret = append(ret, tx) } } - sort.Sort(types.TxByNonce{ret}) + sort.Sort(types.TxByNonce(ret)) return ret } |