Merge pull request #5472 from joostjager/filter-leases

btcwallet: filter out expired leases
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2021-07-09 17:31:03 -07:00
commit 8df611f74c
3 files changed
+7 -1

No files matched your search

@@ -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)