mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-18 13:07:58 +02:00
This commit fixes an existing bug wherein we would incorrectly attempt to forward and HTLC to a link that wasn’t yet eligible for forwarding. This would occur when we’ve added a link to the switch, but haven’t yet received a FundingLocked message for the channel. As a result, the channel won’t have the next revocation point available. A logic error prior to this commit would skip tallying the largest bandwidth rather than skipping examining the link all together. Fixes #464. |
||
|---|---|---|
| .. | ||
| circuit.go | ||
| failure.go | ||
| interfaces.go | ||
| iterator.go | ||
| link.go | ||
| link_test.go | ||
| log.go | ||
| mailbox.go | ||
| mailbox_test.go | ||
| mock.go | ||
| packet.go | ||
| queue.go | ||
| queue_test.go | ||
| switch.go | ||
| switch_test.go | ||
| test_utils.go | ||