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

multi: Remove unused code. #1505

Merged
merged 1 commit into from Nov 1, 2018
Merged

multi: Remove unused code. #1505

merged 1 commit into from Nov 1, 2018

Conversation

dajohi
Copy link
Member

@dajohi dajohi commented Oct 21, 2018

No description provided.

// If height comes in at 46 we use the 35-45 window, up to height 56 etc.
//
// This function MUST be called with the chain state lock held (for writes).
func (b *BlockChain) isVoterMajorityVersion(minVer uint32, prevNode *blockNode) bool {
Copy link
Member

Choose a reason for hiding this comment

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

This shoudn't be removed since it's used by the tests to make sure things are working properly. It can, however, be moved to stakeversion_test.go so it is only compiled when running the tests.

@davecgh davecgh changed the title [multi] remove unused code multi: Remove unused code. Oct 22, 2018
@davecgh davecgh merged commit 5f80817 into decred:master Nov 1, 2018
@dajohi dajohi deleted the dead branch February 28, 2019 00: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.

None yet

2 participants