Added StringToBytesFunc

This commit is contained in:
obscuren
2014-05-28 13:14:56 +02:00
parent 8278ba5e45
commit 65722aeeca
2 changed files with 11 additions and 1 deletions

View File

@ -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)