core/state/pruner: fix state bloom sync permission in Windows

revert-23120-drop-eth-65
Péter Szilágyi 4 years ago
parent 97bd6cd216
commit 3b38a83274
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D
  1. 2
      core/state/pruner/bloom.go

@ -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…
Cancel
Save