mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-16 00:37:09 +00:00
core: Log a warning when optimism enabled but regolith not scheduled
This commit is contained in:
parent
0705cf1b7d
commit
88e99a8481
@ -255,6 +255,10 @@ func NewBlockChain(db ethdb.Database, cacheConfig *CacheConfig, genesis *Genesis
|
||||
log.Info(strings.Repeat("-", 153))
|
||||
log.Info("")
|
||||
|
||||
if chainConfig.IsOptimism() && chainConfig.RegolithTime == nil {
|
||||
log.Warn("Optimism RegolithTime has not been set")
|
||||
}
|
||||
|
||||
bc := &BlockChain{
|
||||
chainConfig: chainConfig,
|
||||
cacheConfig: cacheConfig,
|
||||
|
Loading…
x
Reference in New Issue
Block a user