Skip to content

Commit

Permalink
Remove unnecessary warning
Browse files Browse the repository at this point in the history
The user chooses not to provide eth node therefore they are expected to
understand the consequences. Also, there is already an error message is
someone tries to request `starknet_getMessageStatus` without providing
an eth-node.
  • Loading branch information
IronGauntlets committed Nov 7, 2024
1 parent 9612e7a commit ffd8b33
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,6 @@ func New(cfg *Config, version string) (*Node, error) { //nolint:gocyclo,funlen
}
n.services = append(n.services, l1Client)
rpcHandler.WithL1Client(l1Client.L1())

Check warning on line 288 in node/node.go

View check run for this annotation

Codecov / codecov/patch

node/node.go#L288

Added line #L288 was not covered by tests
} else {
n.log.Warnw("L1 client not found, cannot serve starknet_getMessage RPC endpoint")
}

if semversion, err := semver.NewVersion(version); err == nil {
Expand Down

0 comments on commit ffd8b33

Please sign in to comment.