aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-04 06:12:21 +0800
committerobscuren <geffobscura@gmail.com>2014-07-04 06:12:21 +0800
commitcb7ebdf821adb4b022adcaea0973c8c7da2e2923 (patch)
tree884cc6073bdc20df5503c415760eaf3a87f96060 /ethchain
parent8baa0f84e70aafa3882ec477d3b3d401d462958b (diff)
downloaddexon-cb7ebdf821adb4b022adcaea0973c8c7da2e2923.tar.gz
dexon-cb7ebdf821adb4b022adcaea0973c8c7da2e2923.tar.zst
dexon-cb7ebdf821adb4b022adcaea0973c8c7da2e2923.zip
Decreased timeout
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/vm.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethchain/vm.go b/ethchain/vm.go
index 97379f8ea..3a7aa8c58 100644
--- a/ethchain/vm.go
+++ b/ethchain/vm.go
@@ -698,9 +698,9 @@ func (vm *Vm) RunClosure(closure *Closure) (ret []byte, err error) {
stateObject.AddAmount(value)
// Create a new callable closure
- closure := NewClosure(closure, stateObject, stateObject.script, vm.state, gas, closure.Price)
+ c := NewClosure(closure, stateObject, stateObject.script, vm.state, gas, closure.Price)
// Executer the closure and get the return value (if any)
- ret, err := Call(vm, closure, args)
+ ret, err := Call(vm, c, args)
if err != nil {
stack.Push(ethutil.BigFalse)