diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-08 20:20:17 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-08 20:20:17 +0800 |
commit | 71defc11fa01b113e26da876388f7a50f314d7fb (patch) | |
tree | a453574d3c4651e794949403330420046c67facd /ethereal/ui/ui_lib.go | |
parent | 53eb59ed8103940148b62eee4212425eb4760341 (diff) | |
download | dexon-71defc11fa01b113e26da876388f7a50f314d7fb.tar dexon-71defc11fa01b113e26da876388f7a50f314d7fb.tar.gz dexon-71defc11fa01b113e26da876388f7a50f314d7fb.tar.bz2 dexon-71defc11fa01b113e26da876388f7a50f314d7fb.tar.lz dexon-71defc11fa01b113e26da876388f7a50f314d7fb.tar.xz dexon-71defc11fa01b113e26da876388f7a50f314d7fb.tar.zst dexon-71defc11fa01b113e26da876388f7a50f314d7fb.zip |
Fixed closure
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 0feb522bc..855ed4af3 100644 --- a/ethereal/ui/ui_lib.go +++ b/ethereal/ui/ui_lib.go @@ -151,7 +151,7 @@ func (ui *UiLib) DebugTx(recipient, valueStr, gasStr, gasPriceStr, data string) keyPair := ethutil.Config.Db.GetKeys()[0] account := ui.eth.StateManager().GetAddrState(keyPair.Address()).Object c := ethchain.MakeContract(callerTx, state) - callerClosure := ethchain.NewClosure(account, c, c.Script(), state, ethutil.Big(gasStr), ethutil.Big(gasPriceStr), ethutil.Big(valueStr)) + callerClosure := ethchain.NewClosure(account, c, c.Script(), state, ethutil.Big(gasStr), ethutil.Big(gasPriceStr)) block := ui.eth.BlockChain().CurrentBlock vm := ethchain.NewVm(state, ui.eth.StateManager(), ethchain.RuntimeVars{ |