7ae436e30e
This commit fixes a bug related to swallowing an error that should go to the switch in the case of an insufficient balance error when attempting to add a new HTLC to the channel state machine. In this case, an error would never be returned back to the client/switch, and the internal processing within the channelLink would loop forever, attempting to add an HTLC that can’t be added due to insufficient balance to state machine itself. We fix this issue by only treating the lnwallet.ErrMaxHTLCNumber as the only error that prompts adding an HTLC to the overflow queue rather than sending the error directly back to the switch. |
||
---|---|---|
.. | ||
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 |