Skip to content

Commit

Permalink
core/state/pruner: fix state bloom sync permission in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe authored and i-norden committed Sep 10, 2021
1 parent 7ab34c4 commit 325b770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/state/pruner/bloom.go
Expand Up @@ -90,7 +90,7 @@ func (bloom *stateBloom) Commit(filename, tempname string) error {
return err
}
// Ensure the file is synced to disk
f, err := os.Open(tempname)
f, err := os.OpenFile(tempname, os.O_RDWR, 0666)
if err != nil {
return err
}
Expand Down

0 comments on commit 325b770

Please sign in to comment.