mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-07 11:22:10 +02:00
multi: move routing.TlvTrafficShaper => htlcswitch.AuxTrafficShaper
With this commit we move the traffic shaper definition from the routing package to the HTLC switch package as a preparation for being able to use it there as well. At the same time we rename it to AuxTrafficShaper to be more in line with the other auxiliary components.
This commit is contained in:
@@ -118,7 +118,9 @@ func TestBandwidthManager(t *testing.T) {
|
||||
m, err := newBandwidthManager(
|
||||
g, sourceNode.pubkey, testCase.linkQuery,
|
||||
fn.None[[]byte](),
|
||||
fn.Some[TlvTrafficShaper](&mockTrafficShaper{}),
|
||||
fn.Some[htlcswitch.AuxTrafficShaper](
|
||||
&mockTrafficShaper{},
|
||||
),
|
||||
)
|
||||
require.NoError(t, err)
|
||||
|
||||
|
Reference in New Issue
Block a user