Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amsanghi committed Apr 18, 2024
1 parent 96bf8e1 commit 8572000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nitro/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func validateBlockChain(blockChain *core.BlockChain, chainConfig *params.ChainCo
return fmt.Errorf("invalid chain config, not compatible with previous: %w", err)
}
}
// Add a check to make sure we don't allow accidentally downgrading ArbOS
// Make sure we don't allow accidentally downgrading ArbOS
if currentArbosState.ArbOSVersion() > chainConfig.ArbitrumChainParams.InitialArbOSVersion {
return fmt.Errorf("attempted to launch node with ArbOS version %v on ArbOS state with version %v", chainConfig.ArbitrumChainParams.InitialArbOSVersion, currentArbosState.ArbOSVersion())
}
Expand Down

0 comments on commit 8572000

Please sign in to comment.