diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-09 00:24:28 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-09 00:24:28 +0800 |
commit | f59f515defa5735c59b3bae8a44844678adf1a2d (patch) | |
tree | d1d54c08b51effcd2e36b3133064eaba8ef72960 /ethereal/ui/ui_lib.go | |
parent | 71defc11fa01b113e26da876388f7a50f314d7fb (diff) | |
download | dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.tar dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.tar.gz dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.tar.bz2 dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.tar.lz dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.tar.xz dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.tar.zst dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.zip |
Cleanup
Diffstat (limited to 'ethereal/ui/ui_lib.go')
-rw-r--r-- | ethereal/ui/ui_lib.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/ui/ui_lib.go b/ethereal/ui/ui_lib.go index 855ed4af3..0e7992b4a 100644 --- a/ethereal/ui/ui_lib.go +++ b/ethereal/ui/ui_lib.go @@ -149,7 +149,7 @@ func (ui *UiLib) DebugTx(recipient, valueStr, gasStr, gasPriceStr, data string) // Contract addr as test address keyPair := ethutil.Config.Db.GetKeys()[0] - account := ui.eth.StateManager().GetAddrState(keyPair.Address()).Object + account := ui.eth.StateManager().TransState().GetStateObject(keyPair.Address()) c := ethchain.MakeContract(callerTx, state) callerClosure := ethchain.NewClosure(account, c, c.Script(), state, ethutil.Big(gasStr), ethutil.Big(gasPriceStr)) |