mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
core/rawdb/eradb: do not create era store on startup
This commit is contained in:
parent
0b91cfef04
commit
1c64c74f07
1 changed files with 0 additions and 3 deletions
|
|
@ -63,9 +63,6 @@ func New(datadir string) (*Store, error) {
|
|||
return nil, errors.New("symbolic link datadir is not supported")
|
||||
}
|
||||
}
|
||||
if err := os.MkdirAll(datadir, 0755); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
db := &Store{
|
||||
datadir: datadir,
|
||||
lru: lru.NewBasicLRU[uint64, *fileCacheEntry](openFileLimit),
|
||||
|
|
|
|||
Loading…
Reference in a new issue