Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kc1116 committed Oct 4, 2021
1 parent f178ab0 commit 6aa08c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/util/cmd/common/flow_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func insecureFlowClient(accessAddress string) (*client.Client, error) {
// FlowClientConfigs will assemble connection options for the flow client for each access node id
func FlowClientConfigs(accessNodeIDS []flow.Identifier, insecureAccessAPI bool, snapshot protocol.Snapshot) ([]*FlowClientConfig, error) {
flowClientOpts := make([]*FlowClientConfig, 0)

identities, err := snapshot.Identities(filter.HasNodeID(accessNodeIDS...))
if err != nil {
return nil, fmt.Errorf("failed get identities access node identities (ids=%v) from snapshot: %w", accessNodeIDS, err)
Expand Down Expand Up @@ -135,7 +135,7 @@ func DefaultAccessNodeIDS(snapshot protocol.Snapshot) ([]flow.Identifier, error)
if err != nil {
return nil, fmt.Errorf("failed to get staked access node IDs from protocol state %w", err)
}

return identities.NodeIDs(), nil
}

Expand Down
2 changes: 1 addition & 1 deletion integration/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ci-integration-test: access-tests common-tests execution-tests epoch-tests verif
.PHONY: access-tests
access-tests:
GO111MODULE=on go test -v -tags relic -count=1 ./tests/access

.PHONY: collection-tests
collection-tests:
GO111MODULE=on go test -v -tags relic -count=1 ./tests/collection
Expand Down

0 comments on commit 6aa08c2

Please sign in to comment.