mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
core/rawdb: fix readOnly mode for database (#33025)
This commit is contained in:
parent
19aa8020a9
commit
395425902d
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