From 883810b53328b302aa765ccf9d228bd73c046cac Mon Sep 17 00:00:00 2001 From: obscuren Date: Sun, 27 Apr 2014 18:05:48 +0200 Subject: [PATCH] Using mutan assembler stage --- utils/compile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/compile.go b/utils/compile.go index 894fc2d09..12e3a60c3 100644 --- a/utils/compile.go +++ b/utils/compile.go @@ -9,7 +9,7 @@ import ( // General compile function func Compile(script string) ([]byte, error) { - asm, errors := mutan.Compile(strings.NewReader(script), false) + byteCode, errors := mutan.Compile(strings.NewReader(script), false) if len(errors) > 0 { var errs string for _, er := range errors { @@ -20,7 +20,7 @@ func Compile(script string) ([]byte, error) { return nil, fmt.Errorf("%v", errs) } - return ethutil.Assemble(asm...), nil + return byteCode, nil } func CompileScript(script string) ([]byte, []byte, error) {