lnd: use impl cfg TlvTrafficShaper

This commit is contained in:
George Tsagkarelis authored and Oliver Gugger committed 2024-09-05 18:00:52 +02:00
1 parent f04fa54622
commit c39143052e
2 files changed
+6

No files matched your search

+1
View File
@@ -1022,6 +1022,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
Clock: clock.NewDefaultClock(),
ApplyChannelUpdate: s.graphBuilder.ApplyChannelUpdate,
ClosedSCIDs: s.fetchClosedChannelSCIDs(),
TrafficShaper: implCfg.TrafficShaper,
})
if err != nil {
return nil, fmt.Errorf("can't create router: %w", err)