Skip to content

Conversation

@LuccaBitfly
Copy link
Contributor

No description provided.

Comment on lines -852 to -858
containsGroups := false
requestedGroupsMap := make(map[int64]bool)
for _, groupId := range groupIds {
requestedGroupsMap[groupId] = true
if !containsGroups && groupId >= 0 {
containsGroups = true
}
Copy link
Contributor Author

@LuccaBitfly LuccaBitfly May 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: containsGroups was unused, not sure what this was needed for

Comment on lines +939 to +943
type key struct {
Timestamp uint64
GroupId int64
}
rowsMap := make(map[key]*t.VDBValidatorSummaryChartRow)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: https://go.dev/blog/maps#key-types recommends to use key types instead of multidimensional maps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant