mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-22 23:14:19 +01:00
This commit modifies the error we return to the end user in the case of an insufficient link capacity error when handling a local payment dispatch. Previously we would return a lnwire.CodeTemporaryChannelFailure, however, this isn’t necessary as this is a local payment attempt and we don’t give up any sensitive information by returning the best available bandwidth, and what we need to complete the payment.