mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-02 19:44:03 +02:00
graph: rename routerStats to builderStats
This logic used to be handled by the router. Update to reflect new owner.
This commit is contained in:
@ -153,7 +153,7 @@ type Builder struct {
|
||||
|
||||
// stats tracks newly processed channels, updates, and node
|
||||
// announcements over a window of defaultStatInterval.
|
||||
stats *routerStats
|
||||
stats *builderStats
|
||||
|
||||
quit chan struct{}
|
||||
wg sync.WaitGroup
|
||||
@ -171,7 +171,7 @@ func NewBuilder(cfg *Config) (*Builder, error) {
|
||||
ntfnClientUpdates: make(chan *topologyClientUpdate),
|
||||
channelEdgeMtx: multimutex.NewMutex[uint64](),
|
||||
statTicker: ticker.New(defaultStatInterval),
|
||||
stats: new(routerStats),
|
||||
stats: new(builderStats),
|
||||
quit: make(chan struct{}),
|
||||
}, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user