mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 22:50:58 +02:00
htlcswitch+routing: add htlc blob to ShouldHandleTraffic
Whether we should let the aux bandwidth manager decide what the bandwidth of a channel is should also depend on whether the HTLC is a custom HTLC, not just the channel.
This commit is contained in:
@@ -140,7 +140,7 @@ type mockTrafficShaper struct{}
|
||||
// by the provided channel ID may have external mechanisms that would
|
||||
// allow it to carry out the payment.
|
||||
func (*mockTrafficShaper) ShouldHandleTraffic(_ lnwire.ShortChannelID,
|
||||
_ fn.Option[tlv.Blob]) (bool, error) {
|
||||
_, _ fn.Option[tlv.Blob]) (bool, error) {
|
||||
|
||||
return true, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user