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

mining: Remove dead code. #1882

Merged
merged 1 commit into from
Sep 9, 2019
Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Sep 7, 2019

This removes all of the code related to setting and updating cached templates in the block manager since they are no longer used.

It is easy to see this is the case by considering that the only places that set cachedCurrentTemplate and cachedParentTemplate set them to nil.

@davecgh davecgh added this to the 1.5.0 milestone Sep 7, 2019
This removes all of the code related to setting and updating cached
templates in the block manager since they are no longer used.

It is easy to see this is the case by considering that the only places
that set cachedCurrentTemplate and cachedParentTemplate set them to nil.
@davecgh davecgh merged commit 48c0585 into decred:master Sep 9, 2019
@davecgh davecgh deleted the mining_remove_dead_code branch September 9, 2019 16:57
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