Merge pull request #9573 from ellemouton/checkUpdateStalenessBeforeRateLimit

discovery: obtain channelMtx before doing any DB calls in `handleChannelUpdate`
This commit is contained in:
Oliver Gugger authored and GitHub committed 2025-03-07 04:17:00 -06:00
commit a5f54d1d6b
3 files changed
+239 -16

No files matched your search

@@ -77,6 +77,11 @@
restarts, for details check [this
issue](https://github.com/lightningnetwork/lnd/issues/8975#issuecomment-2270528222).
* [Fix a bug](https://github.com/lightningnetwork/lnd/pull/9573) where
processing duplicate ChannelUpdates from different peers in quick succession
could lead to our ChannelUpdate rate limiting logic being prematurely
triggered.
# New Features
* [Support](https://github.com/lightningnetwork/lnd/pull/8390) for