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

blockchain: Remove unused root field. #680

Merged
merged 1 commit into from
Apr 25, 2016

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Apr 25, 2016

This removes the root field and all references to it from the BlockChain struct since it is no longer required.

It was previously required because the chain state was not initialized when the instance was created. However, that is no longer the case, so there is no reason to keep it around any longer.


This change is Reviewable

This removes the root field and all references to it from the BlockChain
since it is no longer required.

It was previously required because the chain state was not initialized
when the instance was created.  However, that is no longer the case, so
there is no reason to keep it around any longer.
@jrick
Copy link
Member

jrick commented Apr 25, 2016

ok

@davecgh davecgh merged commit de4fb24 into btcsuite:master Apr 25, 2016
@davecgh davecgh deleted the blockchain_remove_root branch April 25, 2016 21:17
cjepson pushed a commit to cjepson/btcd that referenced this pull request Sep 21, 2016
This removes the root field and all references to it from the BlockChain
since it is no longer required.

It was previously required because the chain state was not initialized
when the instance was created.  However, that is no longer the case, so
there is no reason to keep it around any longer.
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