mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 22:50:58 +02:00
htlcswitch+routing: PaymentBandwidth accepts channel peer pubkey argument
This commit is contained in:
committed by
Oliver Gugger
parent
ab036990b5
commit
128b23e813
@@ -153,7 +153,7 @@ func (*mockTrafficShaper) ShouldHandleTraffic(_ lnwire.ShortChannelID,
|
||||
// ShouldHandleTraffic method should be called first.
|
||||
func (*mockTrafficShaper) PaymentBandwidth(_, _, _ fn.Option[tlv.Blob],
|
||||
linkBandwidth, _ lnwire.MilliSatoshi,
|
||||
_ lnwallet.AuxHtlcView) (lnwire.MilliSatoshi, error) {
|
||||
_ lnwallet.AuxHtlcView, _ route.Vertex) (lnwire.MilliSatoshi, error) {
|
||||
|
||||
return linkBandwidth, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user