diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-11 02:59:12 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-11 02:59:12 +0800 |
commit | 5553e5aaed5c3f4e303b7d6671d2c92a45aa487e (patch) | |
tree | fc4f9c7a088d0af0e3eec76258df89c3e9968ba4 /core/transaction_pool.go | |
parent | af6afbaa56efa15abe6a03665c6674b0e2f591c8 (diff) | |
download | go-tangerine-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.tar.gz 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.go | 2 |
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 |