aboutsummaryrefslogtreecommitdiffstats
path: root/core/transaction_pool.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-20 21:19:34 +0800
committerobscuren <geffobscura@gmail.com>2015-02-20 21:19:34 +0800
commitea9a549bbdc8377bca73f1417f2dc4a18396a382 (patch)
treef4f8719ad52f17b3db4b26626a9f5932870f9009 /core/transaction_pool.go
parent5c975dd4ed7adb29453fa28e64c0193d323cae99 (diff)
downloadgo-tangerine-ea9a549bbdc8377bca73f1417f2dc4a18396a382.tar.gz
go-tangerine-ea9a549bbdc8377bca73f1417f2dc4a18396a382.tar.zst
go-tangerine-ea9a549bbdc8377bca73f1417f2dc4a18396a382.zip
Removed exported fields from state object and added proper set/getters
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 894b6c440..050cff3d8 100644
--- a/core/transaction_pool.go
+++ b/core/transaction_pool.go
@@ -169,7 +169,7 @@ func (pool *TxPool) RemoveInvalid(query StateQuery) {
for _, tx := range pool.txs {
sender := query.GetAccount(tx.From())
err := pool.ValidateTransaction(tx)
- if err != nil || sender.Nonce >= tx.Nonce() {
+ if err != nil || sender.Nonce() >= tx.Nonce() {
removedTxs = append(removedTxs, tx)
}
}