Skip to content

Commit

Permalink
Merge pull request #23370 from karalabe/windows-pruning-fix-b
Browse files Browse the repository at this point in the history
core/state/pruner: fix state bloom sync permission in Windows
  • Loading branch information
karalabe committed Aug 10, 2021
2 parents 97bd6cd + 3b38a83 commit 520f256
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 520f256

Please sign in to comment.