generators: Don't generate params/protocol_params.go with +x bit

pull/2242/head
Ricardo Catalinas Jiménez 9 years ago
parent 8f65444bf3
commit 139f6a0f4c
  1. 2
      generators/defaults.go
  2. 0
      params/protocol_params.go

@ -52,7 +52,7 @@ func main() {
json.Unmarshal(content, &m)
filepath := filepath.Join(os.Getenv("GOPATH"), "src", "github.com", "ethereum", "go-ethereum", "params", os.Args[2])
output, err := os.OpenFile(filepath, os.O_RDWR|os.O_CREATE, os.ModePerm /*0777*/)
output, err := os.OpenFile(filepath, os.O_RDWR|os.O_CREATE, 0666)
if err != nil {
fatal("error opening file for writing %v\n", err)
}

Loading…
Cancel
Save