aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil/script_windows.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2014-12-22 02:06:24 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2014-12-22 02:06:24 +0800
commitbab78bbeb691d95bdd0222435af0c11cb3485a79 (patch)
tree804c9689546ce362a2862b00bb4e76160052f5d6 /ethutil/script_windows.go
parent7a79428278412ab1f73708af51bce063b000b7a7 (diff)
parent1360f027d9e365242466ca346b2b56f421729d91 (diff)
downloaddexon-bab78bbeb691d95bdd0222435af0c11cb3485a79.tar
dexon-bab78bbeb691d95bdd0222435af0c11cb3485a79.tar.gz
dexon-bab78bbeb691d95bdd0222435af0c11cb3485a79.tar.bz2
dexon-bab78bbeb691d95bdd0222435af0c11cb3485a79.tar.lz
dexon-bab78bbeb691d95bdd0222435af0c11cb3485a79.tar.xz
dexon-bab78bbeb691d95bdd0222435af0c11cb3485a79.tar.zst
dexon-bab78bbeb691d95bdd0222435af0c11cb3485a79.zip
Merge branch 'tests' of github.com:ethereum/go-ethereum into tests
Diffstat (limited to 'ethutil/script_windows.go')
-rw-r--r--ethutil/script_windows.go23
1 files changed, 1 insertions, 22 deletions
diff --git a/ethutil/script_windows.go b/ethutil/script_windows.go
index ef239cd51..1dedc5f60 100644
--- a/ethutil/script_windows.go
+++ b/ethutil/script_windows.go
@@ -2,31 +2,10 @@
package ethutil
-import (
- "fmt"
- "strings"
-
- "github.com/obscuren/mutan"
- "github.com/obscuren/mutan/backends"
-)
-
// General compile function
func Compile(script string, silent bool) (ret []byte, err error) {
if len(script) > 2 {
- compiler := mutan.NewCompiler(backend.NewEthereumBackend())
- compiler.Silent = silent
- byteCode, errors := compiler.Compile(strings.NewReader(script))
- if len(errors) > 0 {
- var errs string
- for _, er := range errors {
- if er != nil {
- errs += er.Error()
- }
- }
- return nil, fmt.Errorf("%v", errs)
- }
-
- return byteCode, nil
+ return nil, nil
}
return nil, nil