From d2e75cc957b6f617fe17459dcaff90acf19762a1 Mon Sep 17 00:00:00 2001 From: obscuren Date: Sun, 15 Mar 2015 15:25:09 +0100 Subject: cleaning up unused code --- ethutil/script_unix.go | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 ethutil/script_unix.go (limited to 'ethutil/script_unix.go') diff --git a/ethutil/script_unix.go b/ethutil/script_unix.go deleted file mode 100644 index 9250dda57..000000000 --- a/ethutil/script_unix.go +++ /dev/null @@ -1,19 +0,0 @@ -// +build !windows - -package ethutil - -import "github.com/ethereum/serpent-go" - -// General compile function -func Compile(script string, silent bool) (ret []byte, err error) { - if len(script) > 2 { - byteCode, err := serpent.Compile(script) - if err != nil { - return nil, err - } - - return byteCode, nil - } - - return nil, nil -} -- cgit v1.2.3