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 /cmd/mist/debugger.go | |
parent | af6afbaa56efa15abe6a03665c6674b0e2f591c8 (diff) | |
download | dexon-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.tar dexon-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.tar.gz dexon-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.tar.bz2 dexon-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.tar.lz dexon-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.tar.xz dexon-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.tar.zst dexon-5553e5aaed5c3f4e303b7d6671d2c92a45aa487e.zip |
states moved to chain
Diffstat (limited to 'cmd/mist/debugger.go')
-rw-r--r-- | cmd/mist/debugger.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/mist/debugger.go b/cmd/mist/debugger.go index ca3ff5af2..d7c584eab 100644 --- a/cmd/mist/debugger.go +++ b/cmd/mist/debugger.go @@ -141,8 +141,8 @@ func (self *DebuggerWindow) Debug(valueStr, gasStr, gasPriceStr, scriptStr, data keyPair = self.lib.eth.KeyManager().KeyPair() ) - statedb := self.lib.eth.BlockManager().TransState() - account := self.lib.eth.BlockManager().TransState().GetAccount(keyPair.Address()) + statedb := self.lib.eth.ChainManager().TransState() + account := self.lib.eth.ChainManager().TransState().GetAccount(keyPair.Address()) contract := statedb.NewStateObject([]byte{0}) contract.SetCode(script) contract.SetBalance(value) |