Skip to content

Commit

Permalink
feat(phase2): omit empty rpc endpoint field
Browse files Browse the repository at this point in the history
Co-authored-by: Arnaud Mimart <33665250+amimart@users.noreply.github.com>
  • Loading branch information
bdeneux and amimart committed Dec 21, 2022
1 parent 555a177 commit f6c4730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/nemeton/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Validator struct {
Website *url.URL `bson:"website,omitempty"`
Discord string `bson:"discord"`
Country string `bson:"country"`
RPCEndpoint *url.URL `bson:"rpcEndpoint"`
RPCEndpoint *url.URL `bson:"rpcEndpoint,omitempty"`
Status string `bson:"status"`
Points uint64 `bson:"points"`
Tasks map[int]map[string]TaskState `bson:"tasks"`
Expand Down

0 comments on commit f6c4730

Please sign in to comment.