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. |
||
---|---|---|
.. | ||
circuit.go | ||
failure.go | ||
interfaces.go | ||
iterator.go | ||
link_test.go | ||
link.go | ||
log.go | ||
mock.go | ||
packet.go | ||
queue_test.go | ||
queue.go | ||
switch_test.go | ||
switch.go | ||
test_utils.go |