Skip to content

Commit

Permalink
correctly place log line
Browse files Browse the repository at this point in the history
  • Loading branch information
danyalprout committed Jul 15, 2024
1 parent e1d0c00 commit d0b4ec1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions consensus/beacon/oplegacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ func (o *OpLegacy) VerifyUncles(chain consensus.ChainReader, block *types.Block)
}

func (o *OpLegacy) Prepare(chain consensus.ChainHeaderReader, header *types.Header) error {
// TODO: Understand if there are any implications except for in worker.go
// Maybe we can also move OP specific stuff here.
return nil
}

Expand Down
2 changes: 1 addition & 1 deletion eth/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ func New(stack *node.Node, config *ethconfig.Config) (*Ethereum, error) {
if bcVersion != nil {
dbVer = fmt.Sprintf("%d", *bcVersion)
}
log.Info("Initialising Ethereum protocol", "network", config.NetworkId, "dbversion", dbVer)

if !config.SkipBcVersionCheck {
if bcVersion != nil && *bcVersion > core.BlockChainVersion {
Expand Down Expand Up @@ -251,6 +250,7 @@ func New(stack *node.Node, config *ethconfig.Config) (*Ethereum, error) {
config.NetworkId = chainConfig.ChainID.Uint64() // optimism defaults eth network ID to chain ID
eth.networkID = config.NetworkId
}
log.Info("Initialising Ethereum protocol", "network", config.NetworkId, "dbversion", dbVer)

eth.bloomIndexer.Start(eth.blockchain)

Expand Down

0 comments on commit d0b4ec1

Please sign in to comment.