aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-11 00:19:38 +0800
committerobscuren <geffobscura@gmail.com>2014-07-11 00:19:38 +0800
commit5c7e96d895f18e774c89b26cd99d998d4d08e1f8 (patch)
tree41a70a21533984fcae0adc1df57869c2f82712b4
parent04561c4ddc363189bdb7377a271d6a734f09eae1 (diff)
downloaddexon-5c7e96d895f18e774c89b26cd99d998d4d08e1f8.tar.gz
dexon-5c7e96d895f18e774c89b26cd99d998d4d08e1f8.tar.zst
dexon-5c7e96d895f18e774c89b26cd99d998d4d08e1f8.zip
Removed serpent
-rw-r--r--ethutil/script.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/ethutil/script.go b/ethutil/script.go
index f5c53f84c..b796e7c1e 100644
--- a/ethutil/script.go
+++ b/ethutil/script.go
@@ -4,7 +4,6 @@ import (
"fmt"
"github.com/obscuren/mutan"
"github.com/obscuren/mutan/backends"
- "github.com/obscuren/serpent-go"
"strings"
)
@@ -15,13 +14,15 @@ func Compile(script string, silent bool) (ret []byte, err error) {
if len(line) > 1 && line[0:2] == "#!" {
switch line {
- case "#!serpent":
- byteCode, err := serpent.Compile(script)
- if err != nil {
- return nil, err
- }
+ /*
+ case "#!serpent":
+ byteCode, err := serpent.Compile(script)
+ if err != nil {
+ return nil, err
+ }
- return byteCode, nil
+ return byteCode, nil
+ */
}
} else {