cmd, core, eth, ethdb: cache flag to allocate memory for db internal use
This commit is contained in:
@ -28,8 +28,7 @@ func newDb() *LDBDatabase {
|
||||
if common.FileExist(file) {
|
||||
os.RemoveAll(file)
|
||||
}
|
||||
|
||||
db, _ := NewLDBDatabase(file)
|
||||
db, _ := NewLDBDatabase(file, 0)
|
||||
|
||||
return db
|
||||
}
|
||||
|
Reference in New Issue
Block a user