From 7b68b6612dc9c23e349509c937ec587a38e8eb13 Mon Sep 17 00:00:00 2001 From: quijibo Date: Fri, 22 Jan 2021 22:36:55 +0700 Subject: [PATCH] local sol --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 8ae3f92..0fc35e6 100644 --- a/main.go +++ b/main.go @@ -96,7 +96,7 @@ func main() { gopath = build.Default.GOPATH } fmt.Println("Reading mc_test.sol") - counterSrc, err := filepath.Abs(gopath + "/src/github.com/ava-labs/coreth/examples/multicoin/mc_test.sol") + counterSrc, err := filepath.Abs("mc_test.sol") checkError(err) fmt.Println("Compiling Solidity") contracts, err := compiler.CompileSolidity("", counterSrc)