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(MultiAddress.GetHashCode): aliased protocols give same hashcode #95 #96

Merged
merged 4 commits into from
Jul 31, 2019

Conversation

richardschneider
Copy link
Owner

The hash code of a MultiAddress must be passed the protocol's code and value.
So that the aliased protocols give the same hash code.

@codecov-io
Copy link

codecov-io commented Jul 31, 2019

Codecov Report

Merging #96 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #96      +/-   ##
==========================================
+ Coverage   97.53%   97.53%   +<.01%     
==========================================
  Files          29       29              
  Lines        1620     1624       +4     
==========================================
+ Hits         1580     1584       +4     
  Misses         40       40
Impacted Files Coverage Δ
src/NetworkProtocol.cs 98.16% <100%> (ø) ⬆️
src/MultiAddress.cs 97.63% <100%> (+0.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 335a9d7...be9887e. Read the comment docs.

@richardschneider richardschneider merged commit 2ee2709 into master Jul 31, 2019
@richardschneider richardschneider deleted the 95-multiaddress-hash branch July 31, 2019 08:36
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.

2 participants