aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2019-08-15 18:12:56 +0800
committerGitHub <noreply@github.com>2019-08-15 18:12:56 +0800
commit9bad7fa717cf92d6c1c8836ea2c42f0d66cc21ea (patch)
treedda6f4921e96bec6a569bd2189bc3a017ae382bf
parent26f538b0e5a78bbe6ffc22bc5c25d42001d1bc9d (diff)
downloadgo-tangerine-9bad7fa717cf92d6c1c8836ea2c42f0d66cc21ea.tar
go-tangerine-9bad7fa717cf92d6c1c8836ea2c42f0d66cc21ea.tar.gz
go-tangerine-9bad7fa717cf92d6c1c8836ea2c42f0d66cc21ea.tar.bz2
go-tangerine-9bad7fa717cf92d6c1c8836ea2c42f0d66cc21ea.tar.lz
go-tangerine-9bad7fa717cf92d6c1c8836ea2c42f0d66cc21ea.tar.xz
go-tangerine-9bad7fa717cf92d6c1c8836ea2c42f0d66cc21ea.tar.zst
go-tangerine-9bad7fa717cf92d6c1c8836ea2c42f0d66cc21ea.zip
common/compiler: fix lint issue (#19967)
-rw-r--r--common/compiler/solidity.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/compiler/solidity.go b/common/compiler/solidity.go
index 15c62ce7f..b689f258a 100644
--- a/common/compiler/solidity.go
+++ b/common/compiler/solidity.go
@@ -47,8 +47,8 @@ type solcOutput struct {
func (s *Solidity) makeArgs() []string {
p := []string{
"--combined-json", "bin,bin-runtime,srcmap,srcmap-runtime,abi,userdoc,devdoc",
- "--optimize", // code optimizer switched on
- "--allow-paths", "., ./, ../", //default to support relative path: ./ ../ .
+ "--optimize", // code optimizer switched on
+ "--allow-paths", "., ./, ../", // default to support relative paths
}
if s.Major > 0 || s.Minor > 4 || s.Patch > 6 {
p[1] += ",metadata,hashes"