diff options
author | obscuren <geffobscura@gmail.com> | 2014-04-20 08:05:20 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-04-20 08:05:20 +0800 |
commit | a0c97b663dcb8de940c17479877e3165834f0c8a (patch) | |
tree | cb63c78cfb55a8c07e98904fff270c24f5efc6fb /ethereal/ui/ui_lib.go | |
parent | 9cf77cdbadd8249498d62542502def6ecb2fb6b8 (diff) | |
download | dexon-a0c97b663dcb8de940c17479877e3165834f0c8a.tar dexon-a0c97b663dcb8de940c17479877e3165834f0c8a.tar.gz dexon-a0c97b663dcb8de940c17479877e3165834f0c8a.tar.bz2 dexon-a0c97b663dcb8de940c17479877e3165834f0c8a.tar.lz dexon-a0c97b663dcb8de940c17479877e3165834f0c8a.tar.xz dexon-a0c97b663dcb8de940c17479877e3165834f0c8a.tar.zst dexon-a0c97b663dcb8de940c17479877e3165834f0c8a.zip |
Updated closure call
Diffstat (limited to 'ethereal/ui/ui_lib.go')
-rw-r--r-- | ethereal/ui/ui_lib.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ethereal/ui/ui_lib.go b/ethereal/ui/ui_lib.go index a0d2f557a..95743fa5d 100644 --- a/ethereal/ui/ui_lib.go +++ b/ethereal/ui/ui_lib.go @@ -8,7 +8,6 @@ import ( "github.com/ethereum/eth-go/ethutil" "github.com/ethereum/go-ethereum/utils" "github.com/niemeyer/qml" - "math/big" "os" "path" "path/filepath" @@ -117,7 +116,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), new(big.Int)) + callerClosure := ethchain.NewClosure(account, c, c.Script(), state, ethutil.Big(gasStr), ethutil.Big(gasPriceStr), ethutil.Big(valueStr)) block := ui.eth.BlockChain().CurrentBlock vm := ethchain.NewVm(state, ethchain.RuntimeVars{ |