Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(fixup)tapchannel: conditionally check linkbandwidth against htlcAmt …
…in PaymentBandwidth Previously we would always perform a check between htlcAmt and link bandwidth in the PaymentBandwidth hook. This would not work as for RFQ payments the htlcAmt passed to this function would be the overall translated asset value, which could easily exceed the remaining link bandwidth expressed in sats. We now perform two distinct htlc budget checks, once in the keysend path and once in the RFQ path.
- Loading branch information