Skip to content

Commit

Permalink
Update toml.go
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanTinianov committed Sep 12, 2024
1 parent fd3823b commit 4bf96b7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/solana/config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,6 @@ func (c *TOMLConfig) ValidateConfig() (err error) {
}

for _, node := range c.Nodes {
if node == nil {
err = errors.Join(err, config.ErrMissing{Name: "Node", Msg: "required for all nodes"})
}
if node.Name == nil {
err = errors.Join(err, config.ErrMissing{Name: "Name", Msg: "required for all nodes"})
} else if *node.Name == "" {
Expand Down

0 comments on commit 4bf96b7

Please sign in to comment.