Skip to content

Commit

Permalink
explicitly initialize trackedSubnets set
Browse files Browse the repository at this point in the history
  • Loading branch information
iansuvak committed Jan 9, 2025
1 parent c86970c commit a734f6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions signature-aggregator/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func (c *Config) Validate() error {
if err := c.InfoAPI.Validate(); err != nil {
return err
}
c.trackedSubnets = set.NewSet[ids.ID](len(c.TrackedSubnetIDs))
for _, trackedL1 := range c.TrackedSubnetIDs {
trackedL1ID, err := ids.FromString(trackedL1)
if err != nil {
Expand Down

0 comments on commit a734f6b

Please sign in to comment.