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

cleanup unused hash_with impl #3207

Merged
merged 1 commit into from
Jan 28, 2020

Conversation

antiochp
Copy link
Member

@antiochp antiochp commented Jan 27, 2020

This PR cleans up the unused impl for hash_with(other) and the associated impl Add for Hash.
I'm guessing these were used at some point with code since refactored.

Note we still have the hash_with_index() impl as this is different.

This was discovered while investigating how we might go about hashing "relative" tx kernels if they reference a prior kernel excess commitment, but indirectly via an MMR index.

Copy link
Contributor

@jaspervdm jaspervdm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed couldnt find a place where it's used, but doesn't necessarily mean it isn't used anywhere. So if code compiles and tests pass this can be merged

@antiochp antiochp merged commit 2f1e829 into mimblewimble:master Jan 28, 2020
@antiochp antiochp deleted the cleanup_hash_with branch January 28, 2020 11:40
@antiochp antiochp mentioned this pull request Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants