mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 18:27:43 +02:00
contractcourt: unify the lease specific HTLC sweeping logic
In this commit, we consolidate the _lease specific_ logic for the success and timeout HTLC resolvers. We do this with the addition of a new struct which is then composed via struct embedding with the two existing structs. This fixes a flake in the integration tests by ensuring the height is set up front, rather than eventually once the height matches the lock time.
This commit is contained in:
@@ -125,12 +125,6 @@ compact filters and block/block headers.
|
||||
* [Fixed deadlock in the invoice registry](
|
||||
https://github.com/lightningnetwork/lnd/pull/6600)
|
||||
|
||||
## Neutrino
|
||||
|
||||
* [New neutrino sub-server](https://github.com/lightningnetwork/lnd/pull/5652)
|
||||
capable of status checks, adding, disconnecting and listing
|
||||
peers, fetching compact filters and block/block headers.
|
||||
|
||||
* [Added signature length
|
||||
validation](https://github.com/lightningnetwork/lnd/pull/6314) when calling
|
||||
`NewSigFromRawSignature`.
|
||||
@@ -187,6 +181,8 @@ from occurring that would result in an erroneous force close.](https://github.co
|
||||
* [Fixed a wrong channel status inheritance used in `migration26` and
|
||||
`migration27`](https://github.com/lightningnetwork/lnd/pull/6563).
|
||||
|
||||
* [Fixes an issue related to HTLCs on lease enforced channels that can lead to itest flakes](https://github.com/lightningnetwork/lnd/pull/6605/files)
|
||||
|
||||
## Routing
|
||||
|
||||
* [Add a new `time_pref` parameter to the QueryRoutes and SendPayment APIs](https://github.com/lightningnetwork/lnd/pull/6024) that
|
||||
|
Reference in New Issue
Block a user