aboutsummaryrefslogtreecommitdiffstats
path: root/core/transaction_pool.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-11 02:59:12 +0800
committerobscuren <geffobscura@gmail.com>2014-12-11 02:59:12 +0800
commit5553e5aaed5c3f4e303b7d6671d2c92a45aa487e (patch)
treefc4f9c7a088d0af0e3eec76258df89c3e9968ba4 /core/transaction_pool.go
parentaf6afbaa56efa15abe6a03665c6674b0e2f591c8 (diff)
downloadgo-tangerine-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.tar
go-tangerine-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.tar.gz
go-tangerine-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.tar.bz2
go-tangerine-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.tar.lz
go-tangerine-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.tar.xz
go-tangerine-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.tar.zst
go-tangerine-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.zip
states moved to chain
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 1d1f478e4..7166d35e8 100644
--- a/core/transaction_pool.go
+++ b/core/transaction_pool.go
@@ -116,7 +116,7 @@ func (pool *TxPool) ValidateTransaction(tx *types.Transaction) error {
}
// Get the sender
- sender := pool.Ethereum.BlockManager().CurrentState().GetAccount(tx.Sender())
+ sender := pool.Ethereum.ChainManager().State().GetAccount(tx.Sender())
totAmount := new(big.Int).Set(tx.Value)
// Make sure there's enough in the sender's account. Having insufficient