lnd.xprv/htlcswitch
Olaoluwa Osuntokun 01d54c29af
htlcswitch: restore the ability to properly handle debughtlc recv's
This commit fixes a regression introduce in the prior commit which
added full verification of the per-hop payloads to the ChannelLink
interface. When this was initially implemented, the added checks
weren’t guarded on the existence of debughtlc’s. As a result,
debughtlc’s would be rejected as they don’t match the expected invoice
value.

This commit fixes that issue by only checking the hop payload if debug
HTLC mode isn’t on.
2017-07-04 15:58:23 -07:00
..
circuit.go htlcswitch: update test utilities to latest switch/link changes 2017-06-17 00:03:42 +02:00
interfaces.go htlcswitch: add a new UpdateFeePolicy to ChannelLink interface 2017-06-17 00:01:10 +02:00
iterator.go htlcswitch: eliminate HopID in favor of a [33]byte for compressed pub keys 2017-06-16 23:38:52 +02:00
link_test.go htlcswitch: return time result from bidirection test 2017-06-26 20:26:27 +03:00
link.go htlcswitch: restore the ability to properly handle debughtlc recv's 2017-07-04 15:58:23 -07:00
log.go lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
mock.go htlcswitch: update link tests to be aware of fee implementation, API changes 2017-06-17 00:08:26 +02:00
packet.go htlcswitch: change over all internal indexes to use short channel ID's 2017-06-16 23:49:46 +02:00
queue_test.go htlcswitch: run all unit tests in parallel 2017-06-17 00:41:47 +02:00
queue.go htlcswitch: change over all internal indexes to use short channel ID's 2017-06-16 23:49:46 +02:00
switch_test.go htlcswitch: run all unit tests in parallel 2017-06-17 00:41:47 +02:00
switch.go htlcswitch: restore the ability to properly handle debughtlc recv's 2017-07-04 15:58:23 -07:00
test_utils.go htlcswitch: return time result from bidirection test 2017-06-26 20:26:27 +03:00