local sol

This commit is contained in:
quijibo 2021-01-22 22:36:55 +07:00
parent e6260bb468
commit 7b68b6612d
1 changed files with 1 additions and 1 deletions

View File

@ -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)