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 committed Nov 6, 2024
1 parent 5605db6 commit 6971eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ func New(cfg *Config, version string) (*Node, error) { //nolint:gocyclo,funlen
// Due to mutually exclusive flag we can do the following.
if n.cfg.EthNode == "" {
//nolint:lll

Check failure on line 279 in node/node.go

View workflow job for this annotation

GitHub Actions / lint

directive `//nolint:lll` is unused for linter "lll" (nolintlint)
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")

Check warning on line 280 in node/node.go

View check run for this annotation

Codecov / codecov/patch

node/node.go#L280

Added line #L280 was not covered by tests
}

var l1Client *l1.Client
Expand Down

0 comments on commit 6971eb8

Please sign in to comment.