aboutsummaryrefslogtreecommitdiffstats
path: root/core/transaction_pool.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-01-22 18:05:17 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-01-22 18:33:34 +0800
commita2dc074b1ddffaf4e35758835bafe14cca5f0ea7 (patch)
treeb9aa5c904aea0962eb7c103896b6a4ef4c32971c /core/transaction_pool.go
parent78f196409552466ff878a030e4069495a923c73e (diff)
downloadgo-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.go2
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
}