Skip to content

Commit

Permalink
Fix disable l1 error log
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechos authored and derrix060 committed Nov 6, 2024
1 parent 5605db6 commit ef7e174
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,7 @@ func New(cfg *Config, version string) (*Node, error) { //nolint:gocyclo,funlen
if !n.cfg.DisableL1Verification {
// Due to mutually exclusive flag we can do the following.
if n.cfg.EthNode == "" {
//nolint:lll
return nil, fmt.Errorf("ethereum node address not found; will not verify against L1. Use --Let rename it disable-l1-verification flag if L1 verification is not required")
return nil, fmt.Errorf("ethereum node address not found; Use --disable-l1-verification flag if L1 verification is not required")
}

var l1Client *l1.Client
Expand Down

0 comments on commit ef7e174

Please sign in to comment.