diff --git a/common/compiler/solidity.go b/common/compiler/solidity.go index ddf7a1ac9630e7a3e869b875d7d613362e26ede7..6a5bfecd8614a232d688b4a05536abe12a377943 100644 --- a/common/compiler/solidity.go +++ b/common/compiler/solidity.go @@ -149,7 +149,6 @@ func (sol *Solidity) Compile(source string) (map[string]*Contract, error) { compilerOptions := strings.Join(params, " ") cmd := exec.Command(sol.solcPath, params...) - cmd.Dir = wd cmd.Stdin = strings.NewReader(source) cmd.Stderr = stderr