-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(kad): potentially incorrect return value of Addresses::remove
#4816
fix(kad): potentially incorrect return value of Addresses::remove
#4816
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it makes sense to fix this but I am not sure I understand if there is a wider impact of this behaviour or whether it is just a small thing.
The changelog entry reads as if it were a fairly serious bug which makes me curious.
e9240bd
to
3d2d68e
Compare
9ddb72b
to
5d78918
Compare
5d78918
to
8b38fbb
Compare
Addresses::remove
This pull request has merge conflicts. Could you please resolve them @stormshield-frb? 🙏 |
Description
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 callingremove
.Fixes: #4815.
Notes & open questions
N/A
Change checklist