Skip to content

Commit

Permalink
update override warning
Browse files Browse the repository at this point in the history
  • Loading branch information
magicxyyz committed Feb 1, 2024
1 parent b3f42cd commit f632620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/staterecovery/staterecovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ func RecreateMissingStates(chainDb ethdb.Database, bc *core.BlockChain, cacheCon
current := startBlock
genesis := bc.Config().ArbitrumChainParams.GenesisBlockNum
if current < genesis+1 {
log.Warn("recreate-missing-states-from before genesis+1, starting from genesis+1")
current = genesis + 1
log.Warn("recreate-missing-states-from before genesis+1, starting from genesis+1", "configured", startBlock, "override", current)
}
previousBlock := bc.GetBlockByNumber(current - 1)
if previousBlock == nil {
Expand Down

0 comments on commit f632620

Please sign in to comment.