diff --git a/eth/backend.go b/eth/backend.go index 14053f1450..556af40b4a 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -210,7 +210,11 @@ func New(stack *node.Node, config *ethconfig.Config) (*Ethereum, error) { } // startup ancient freeze - if err = chainDb.SetupFreezerEnv(ðdb.FreezerEnv{ + freezeDb := chainDb + if stack.CheckIfMultiDataBase() { + freezeDb = chainDb.BlockStore() + } + if err = freezeDb.SetupFreezerEnv(ðdb.FreezerEnv{ ChainCfg: chainConfig, BlobExtraReserve: config.BlobExtraReserve, }); err != nil {