-
Notifications
You must be signed in to change notification settings - Fork 999
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(kad): potentially incorrect return value of
Addresses::remove
Adding a check when there is only one address left in the list of `Addresses` to verify that the remaining one does match the provided one when calling `remove`. Fixes: #4815. Pull-Request: #4816.
- Loading branch information
1 parent
2fb671c
commit 2b12663
Showing
2 changed files
with
76 additions
and
1 deletion.
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