Skip to content

Commit

Permalink
Merge pull request #1995 from OffchainLabs/parent-chain-warn
Browse files Browse the repository at this point in the history
Use field name instead of variable name in warning message
  • Loading branch information
Tristan-Wilson authored Dec 1, 2023
2 parents 801f747 + e068f5d commit d6d526d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nitro/nitro.go
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ func applyChainParameters(ctx context.Context, k *koanf.Koanf, chainId uint64, c
if chainInfo.ParentChainIsArbitrum != nil {
parentChainIsArbitrum = *chainInfo.ParentChainIsArbitrum
} else {
log.Warn("Chain information parentChainIsArbitrum field missing, in the future this will be required", "chainId", chainInfo.ChainConfig.ChainID, "parentChainId", chainInfo.ParentChainId)
log.Warn("Chain info field parent-chain-is-arbitrum is missing, in the future this will be required", "chainId", chainInfo.ChainConfig.ChainID, "parentChainId", chainInfo.ParentChainId)
_, err := chaininfo.ProcessChainInfo(chainInfo.ParentChainId, "", combinedL2ChainInfoFiles, "")
if err == nil {
parentChainIsArbitrum = true
Expand Down

0 comments on commit d6d526d

Please sign in to comment.