mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-30 10:35:32 +02:00
routing: fix vet error, ensure wait group in topologyClient isn't copied
This commit is contained in:
@ -121,7 +121,7 @@ func (r *ChannelRouter) notifyTopologyChange(topologyDiff *TopologyChange) {
|
||||
for _, client := range r.topologyClients {
|
||||
client.wg.Add(1)
|
||||
|
||||
go func(c topologyClient) {
|
||||
go func(c *topologyClient) {
|
||||
defer c.wg.Done()
|
||||
|
||||
select {
|
||||
|
Reference in New Issue
Block a user