aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/debugger.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 /cmd/mist/debugger.go
parentaf6afbaa56efa15abe6a03665c6674b0e2f591c8 (diff)
downloaddexon-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.go4
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)