mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-06 02:41:29 +01:00
In this commit, we fix a bug in the generateHops helper function. Before this commit, it erroneously used the CLTV delta of the current hop, rather than that of the prior hop when computing the payload. This was incorrect, as when computing the timelock for the incoming hop, we need to factor in the CTLV delta of the outgoing lock, not the incoming lock.
30 KiB
30 KiB