mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-01-17 21:34:20 +01:00
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.