diff options
Diffstat (limited to 'common/compiler')
-rw-r--r-- | common/compiler/solidity.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/compiler/solidity.go b/common/compiler/solidity.go index 8d3304029..ddf7a1ac9 100644 --- a/common/compiler/solidity.go +++ b/common/compiler/solidity.go @@ -157,7 +157,7 @@ func (sol *Solidity) Compile(source string) (map[string]*Contract, error) { return nil, fmt.Errorf("solc: %v\n%s", err, string(stderr.Bytes())) } // Sanity check that something was actually built - matches, _ := filepath.Glob(wd + "/*\\.bin*") + matches, _ := filepath.Glob(filepath.Join(wd, "*.bin*")) if len(matches) < 1 { return nil, fmt.Errorf("solc: no build results found") } |