mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 04:26:37 +00:00
Merge pull request #23370 from karalabe/windows-pruning-fix-b
core/state/pruner: fix state bloom sync permission in Windows
This commit is contained in:
commit
520f25688a
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ func (bloom *stateBloom) Commit(filename, tempname string) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// Ensure the file is synced to disk
|
// Ensure the file is synced to disk
|
||||||
f, err := os.Open(tempname)
|
f, err := os.OpenFile(tempname, os.O_RDWR, 0666)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue