In this PR, the traffic shaper's PaymentBandwidth method is modified to return the link bandwidth if the tap channel commitment blob or HTLC record is absent.
This modification ensures the traffic shaper returns the correct bandwidth for tap channels used as standard BTC lightning channels, ignoring any committed taproot assets.
Dependant on https://github.com/lightningnetwork/lnd/pull/8852 Requires LND version bump once the above PR is merged. Will remove from draft when ready for merge.
This PR is ready for review now.
In this PR, the traffic shaper's
PaymentBandwidth
method is modified to return the link bandwidth if the tap channel commitment blob or HTLC record is absent.This modification ensures the traffic shaper returns the correct bandwidth for tap channels used as standard BTC lightning channels, ignoring any committed taproot assets.