Przeglądaj źródła

common/compiler: fix lint issue (#19967)

Felix Lange 6 lat temu
rodzic
commit
9bad7fa717
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      common/compiler/solidity.go

+ 2 - 2
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"