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

peer: Correct known inventory check. #3074

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Mar 8, 2023

This updates AddKnownInventory and IsKnownInventory in the peer module to use the concrete struct as opposed to a pointer to it in order to allow different instances of the struct to be used as a key versus needing to check with the same instance.

This updates AddKnownInventory and IsKnownInventory to use the concrete
struct as opposed to a pointer to it in order to allow different
instances of the struct to be used as a key versus needing to check with
the same instance.
@davecgh davecgh added this to the 1.8.0 milestone Mar 8, 2023
@davecgh davecgh merged commit 9a57b66 into decred:master Mar 8, 2023
@davecgh davecgh deleted the peer_correct_known_inventory_check branch March 8, 2023 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants