Merge pull request #5472 from joostjager/filter-leases

btcwallet: filter out expired leases
This commit is contained in:
Olaoluwa Osuntokun
2021-07-09 17:31:03 -07:00
committed by GitHub
3 changed files with 7 additions and 1 deletions

View File

@ -98,6 +98,10 @@ finding](https://github.com/lightningnetwork/lnd/pull/5332).
server to fail due to newly added AMP
logic](https://github.com/lightningnetwork/lnd/pull/5419).
The `ListLeases` call that was introduced in 0.13.0 also listed leases that were
already expired. Only when `lnd` is restarted, these leases were cleaned up. We
now [filter out](https://github.com/lightningnetwork/lnd/pull/5472) the expired
leases.
# Contributors (Alphabetical Order)