Skip to content

Commit

Permalink
Remove unused metrics registry from sync ManagerConfig (#3439)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbuchwald authored Oct 2, 2024
1 parent f0d260f commit 90304ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/sync/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ type ManagerConfig struct {
BranchFactor merkledb.BranchFactor
StateSyncNodes []ids.NodeID
// If not specified, [merkledb.DefaultHasher] will be used.
Hasher merkledb.Hasher
Metrics prometheus.Registerer
Hasher merkledb.Hasher
}

func NewManager(config ManagerConfig, registerer prometheus.Registerer) (*Manager, error) {
Expand Down

0 comments on commit 90304ac

Please sign in to comment.