mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
core/rawdb: fix readOnly mode for database (#33025)
This commit is contained in:
parent
45077677dd
commit
a4b9acd375
1 changed files with 1 additions and 0 deletions
|
|
@ -330,6 +330,7 @@ func Open(db ethdb.KeyValueStore, opts OpenOptions) (ethdb.Database, error) {
|
|||
}()
|
||||
}
|
||||
return &freezerdb{
|
||||
readOnly: opts.ReadOnly,
|
||||
ancientRoot: opts.Ancient,
|
||||
KeyValueStore: db,
|
||||
chainFreezer: frdb,
|
||||
|
|
|
|||
Loading…
Reference in a new issue