aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorJeffrey Wilcke <obscuren@users.noreply.github.com>2014-04-29 04:00:07 +0800
committerJeffrey Wilcke <obscuren@users.noreply.github.com>2014-04-29 04:00:07 +0800
commitc0de11955b3a15e6122e3ec9b68623515d311962 (patch)
tree217324fd2903e21cb623e05a839db47a68d55086 /utils
parent68e5568804cc99d217e7a3aaca796406e428f221 (diff)
parenta0f35d324822fc66951f8a33526ff3d15b0de09d (diff)
downloaddexon-c0de11955b3a15e6122e3ec9b68623515d311962.tar
dexon-c0de11955b3a15e6122e3ec9b68623515d311962.tar.gz
dexon-c0de11955b3a15e6122e3ec9b68623515d311962.tar.bz2
dexon-c0de11955b3a15e6122e3ec9b68623515d311962.tar.lz
dexon-c0de11955b3a15e6122e3ec9b68623515d311962.tar.xz
dexon-c0de11955b3a15e6122e3ec9b68623515d311962.tar.zst
dexon-c0de11955b3a15e6122e3ec9b68623515d311962.zip
Merge pull request #34 from compleatang/develop
PreProcess moved to Mutan package
Diffstat (limited to 'utils')
-rw-r--r--utils/compile.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/compile.go b/utils/compile.go
index 12e3a60c3..6d75f73d1 100644
--- a/utils/compile.go
+++ b/utils/compile.go
@@ -2,7 +2,6 @@ package utils
import (
"fmt"
- "github.com/ethereum/eth-go/ethutil"
"github.com/obscuren/mutan"
"strings"
)
@@ -25,7 +24,7 @@ func Compile(script string) ([]byte, error) {
func CompileScript(script string) ([]byte, []byte, error) {
// Preprocess
- mainInput, initInput := ethutil.PreProcess(script)
+ mainInput, initInput := mutan.PreProcess(script)
// Compile main script
mainScript, err := Compile(mainInput)
if err != nil {