ca613a625f
In this commit, we update the failure case within handleLocalDispatch to handle locally sourced resolutions. This is the case that we send a payment out, but before it can even get past the first hop, we need to go to chain (may have been a cascading failure). Once the HTLC is fully resolved, we’ll send back a resolution message, however, that message doesn’t have a failure reason populated. To properly handle this, we’ll send back a permanent channel failure to the router. |
||
---|---|---|
.. | ||
circuit_test.go | ||
circuit.go | ||
failure.go | ||
interfaces.go | ||
iterator.go | ||
link_test.go | ||
link.go | ||
log.go | ||
mailbox_test.go | ||
mailbox.go | ||
mock.go | ||
packet.go | ||
queue_test.go | ||
queue.go | ||
switch_test.go | ||
switch.go | ||
test_utils.go |