-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
discovery: recheck staleness after acquiring channelMtx
Ensure that the ChannelUpdate we are processing is not a duplicate before applying rate limiting logic. The demonstration test added in the prior commit is updated to assert the new, correct logic.
- Loading branch information
1 parent
5aefd50
commit f509dd8
Showing
2 changed files
with
41 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters