aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-28 19:14:56 +0800
committerobscuren <geffobscura@gmail.com>2014-05-28 19:14:56 +0800
commit65722aeeca0fed685a00d660ddd7bb667ac3be9b (patch)
treec64f7024224eb6d2e45eefff6c9074fcc5ad1e05 /ethchain
parent8278ba5e45bc02c8d21416f343b0ae38b5a6431c (diff)
downloadgo-tangerine-65722aeeca0fed685a00d660ddd7bb667ac3be9b.tar
go-tangerine-65722aeeca0fed685a00d660ddd7bb667ac3be9b.tar.gz
go-tangerine-65722aeeca0fed685a00d660ddd7bb667ac3be9b.tar.bz2
go-tangerine-65722aeeca0fed685a00d660ddd7bb667ac3be9b.tar.lz
go-tangerine-65722aeeca0fed685a00d660ddd7bb667ac3be9b.tar.xz
go-tangerine-65722aeeca0fed685a00d660ddd7bb667ac3be9b.tar.zst
go-tangerine-65722aeeca0fed685a00d660ddd7bb667ac3be9b.zip
Added StringToBytesFunc
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/vm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/vm.go b/ethchain/vm.go
index 29eb4aaf5..85136e435 100644
--- a/ethchain/vm.go
+++ b/ethchain/vm.go
@@ -448,7 +448,7 @@ func (vm *Vm) RunClosure(closure *Closure, hook DebugHook) (ret []byte, err erro
closure.Price)
// Call the closure and set the return value as
// main script.
- c.Script, _, err = c.Call(vm, nil, hook)
+ c.Script, gas, err = c.Call(vm, nil, hook)
if err != nil {
stack.Push(ethutil.BigFalse)