Skip to content
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(allowblocklist): correctly remove Peer from sets #3789

Merged
merged 5 commits into from
Apr 19, 2023
Merged

Conversation

thomaseizinger
Copy link
Contributor

@thomaseizinger thomaseizinger commented Apr 13, 2023

Description

Previously, we reinserted the Peer in the "undo" function which is obviously wrong. This patch fixes the behaviour to be correct and adds two regression tests.

Notes & open questions

Thanks to @divagant-martian for discovering this bug. Happy to add you as a co-author if you let me know which email to use.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

@divagant-martian
Copy link
Contributor

ty @thomaseizinger happy to not claim authorship, it's your code so please go ahead with the PR :)

@mxinden
Copy link
Member

mxinden commented Apr 19, 2023

@mergify mergify bot merged commit 5df321d into master Apr 19, 2023
@mergify mergify bot deleted the fix/allow-block branch April 19, 2023 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants