Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pschork committed Sep 26, 2024
1 parent 18ccf9b commit 338c1d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions disperser/common/semver/semver.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ func GetSemverInfo(ctx context.Context, socket string, operatorId core.OperatorI
defer conn.Close()
ctxWithTimeout, cancel := context.WithTimeout(ctx, timeout)
defer cancel()
reply := &node.NodeInfoReply{}
client := node.NewDispersalClient(conn)
reply, err = client.NodeInfo(ctxWithTimeout, &node.NodeInfoRequest{})
reply, err := client.NodeInfo(ctxWithTimeout, &node.NodeInfoRequest{})
if err != nil {
var semver string
if strings.Contains(err.Error(), "unknown method NodeInfo") {
Expand Down
3 changes: 0 additions & 3 deletions disperser/dataapi/subgraph/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ type (
queryOperatorRegistereds struct {
OperatorRegistereds []*Operator `graphql:"operatorRegistereds(first: $first)"`
}
queryOperatorDeregistereds struct {
OperatorDeregistereds []*Operator `graphql:"operatorDeregistereds(first: $first)"`
}
queryBatchNonSigningOperatorIdsInInterval struct {
BatchNonSigningOperatorIds []*BatchNonSigningOperatorIds `graphql:"batches(first: $first, skip: $skip, where: {blockTimestamp_gt: $blockTimestamp_gt})"`
}
Expand Down

0 comments on commit 338c1d1

Please sign in to comment.