diff options
author | obscuren <geffobscura@gmail.com> | 2014-11-04 17:57:02 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-11-04 17:57:02 +0800 |
commit | f59a3b67f69b26f969084e0de165435e80bd8e12 (patch) | |
tree | f92098fa0252484fcdccdaf6075c2842713a2fc9 /xeth/hexface.go | |
parent | 1025d097fd4e5171dadb2c1a8eeb43b7730b13b6 (diff) | |
download | go-tangerine-f59a3b67f69b26f969084e0de165435e80bd8e12.tar go-tangerine-f59a3b67f69b26f969084e0de165435e80bd8e12.tar.gz go-tangerine-f59a3b67f69b26f969084e0de165435e80bd8e12.tar.bz2 go-tangerine-f59a3b67f69b26f969084e0de165435e80bd8e12.tar.lz go-tangerine-f59a3b67f69b26f969084e0de165435e80bd8e12.tar.xz go-tangerine-f59a3b67f69b26f969084e0de165435e80bd8e12.tar.zst go-tangerine-f59a3b67f69b26f969084e0de165435e80bd8e12.zip |
StateManager => BlockManager
Diffstat (limited to 'xeth/hexface.go')
-rw-r--r-- | xeth/hexface.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xeth/hexface.go b/xeth/hexface.go index 5c8e7a3c7..21e82e37d 100644 --- a/xeth/hexface.go +++ b/xeth/hexface.go @@ -224,10 +224,10 @@ func (self *JSXEth) Transact(key, toStr, valueStr, gasStr, gasPriceStr, codeStr tx = chain.NewTransactionMessage(hash, value, gas, gasPrice, data) } - acc := self.obj.StateManager().TransState().GetOrNewStateObject(keyPair.Address()) + acc := self.obj.BlockManager().TransState().GetOrNewStateObject(keyPair.Address()) tx.Nonce = acc.Nonce acc.Nonce += 1 - self.obj.StateManager().TransState().UpdateStateObject(acc) + self.obj.BlockManager().TransState().UpdateStateObject(acc) tx.Sign(keyPair.PrivateKey) self.obj.TxPool().QueueTransaction(tx) |