diff options
author | Ricardo Catalinas Jiménez <r@untroubled.be> | 2016-02-22 04:39:49 +0800 |
---|---|---|
committer | Ricardo Catalinas Jiménez <r@untroubled.be> | 2016-02-22 06:46:32 +0800 |
commit | 139f6a0f4c1b3358a92bdfb5637878b2c97eba78 (patch) | |
tree | 380a464af556f6c2662d9fb36591d412e0f0f520 | |
parent | 8f65444bf35b601143fd8a89b7fc44d68388c285 (diff) | |
download | dexon-139f6a0f4c1b3358a92bdfb5637878b2c97eba78.tar.gz dexon-139f6a0f4c1b3358a92bdfb5637878b2c97eba78.tar.zst dexon-139f6a0f4c1b3358a92bdfb5637878b2c97eba78.zip |
generators: Don't generate params/protocol_params.go with +x bit
-rw-r--r-- | generators/defaults.go | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | params/protocol_params.go | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/generators/defaults.go b/generators/defaults.go index 386c6743d..aec4fe845 100644 --- a/generators/defaults.go +++ b/generators/defaults.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) } diff --git a/params/protocol_params.go b/params/protocol_params.go index 71c7035a4..71c7035a4 100755..100644 --- a/params/protocol_params.go +++ b/params/protocol_params.go |