lnd: use impl cfg TlvTrafficShaper
This commit is contained in:
1 parent
f04fa54622
commit
c39143052e
2 files changed
+6
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user