mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
bf071c1985
This commit fixes an existing bug in the way we perform validation of the timelock information as the final hop in the route. Previously, we would assert that the outgoing time lock in the per-hop payload would exactly match our time lock delta. Instead, we should be asserting two things: 1. That the time lock in the payload is >= the expected time lock 2. That timeout on the HTLC is exactly equal to the payload |
||
---|---|---|
.. | ||
circuit.go | ||
failure.go | ||
interfaces.go | ||
iterator.go | ||
link_test.go | ||
link.go | ||
log.go | ||
mock.go | ||
packet.go | ||
queue_test.go | ||
queue.go | ||
switch_test.go | ||
switch.go | ||
test_utils.go |