diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-05 00:13:23 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-05 00:13:23 +0800 |
commit | 3db9c8007086e0735695a6477c21056737519db9 (patch) | |
tree | 3bfaedac5758908e06c13d8f33229bff6c8555c8 /ethutil/script_windows.go | |
parent | 085f604b27c8b3fbd82f2aa9d02a4251df0d5db5 (diff) | |
download | go-tangerine-3db9c8007086e0735695a6477c21056737519db9.tar go-tangerine-3db9c8007086e0735695a6477c21056737519db9.tar.gz go-tangerine-3db9c8007086e0735695a6477c21056737519db9.tar.bz2 go-tangerine-3db9c8007086e0735695a6477c21056737519db9.tar.lz go-tangerine-3db9c8007086e0735695a6477c21056737519db9.tar.xz go-tangerine-3db9c8007086e0735695a6477c21056737519db9.tar.zst go-tangerine-3db9c8007086e0735695a6477c21056737519db9.zip |
Removed mutan. Closes #183
Diffstat (limited to 'ethutil/script_windows.go')
-rw-r--r-- | ethutil/script_windows.go | 23 |
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 |