undo some megacheck suggestions

This commit is contained in:
Ethan Buchman
2017-06-23 21:36:47 -04:00
parent 9c3eee0b00
commit 3c0128a680
5 changed files with 21 additions and 22 deletions

View File

@ -157,7 +157,7 @@ func updateValidators(validators *types.ValidatorSet, changedValidators []*abci.
// return a bit array of validators that signed the last commit
// NOTE: assumes commits have already been authenticated
/*func commitBitArrayFromBlock(block *types.Block) *cmn.BitArray {
func commitBitArrayFromBlock(block *types.Block) *cmn.BitArray {
signed := cmn.NewBitArray(len(block.LastCommit.Precommits))
for i, precommit := range block.LastCommit.Precommits {
if precommit != nil {
@ -165,7 +165,7 @@ func updateValidators(validators *types.ValidatorSet, changedValidators []*abci.
}
}
return signed
}*/
}
//-----------------------------------------------------
// Validate block