aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil/script.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-07-15 01:50:06 +0800
committerzelig <viktor.tron@gmail.com>2014-07-15 01:50:06 +0800
commit3d5db7288f134fef7e51b25776007705f6663654 (patch)
treeedda6e8fd23584327473058411df9cd2c53241f4 /ethutil/script.go
parentdc11b5c55e2888a7a3dac51fedc3864d112136ce (diff)
parent8845fb7eae3e51fd3e55c47c377bf1a9e0cfe2a9 (diff)
downloaddexon-3d5db7288f134fef7e51b25776007705f6663654.tar
dexon-3d5db7288f134fef7e51b25776007705f6663654.tar.gz
dexon-3d5db7288f134fef7e51b25776007705f6663654.tar.bz2
dexon-3d5db7288f134fef7e51b25776007705f6663654.tar.lz
dexon-3d5db7288f134fef7e51b25776007705f6663654.tar.xz
dexon-3d5db7288f134fef7e51b25776007705f6663654.tar.zst
dexon-3d5db7288f134fef7e51b25776007705f6663654.zip
merge upstream
Diffstat (limited to 'ethutil/script.go')
-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 {