Addressing review comments

This commit is contained in:
Jeremiah Andrews
2018-08-27 18:42:01 -07:00
parent e5965ababe
commit 43d40ee489
9 changed files with 14 additions and 13 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ func (commit *Commit) BitArray() *cmn.BitArray {
return commit.bitArray
}
func (commit *Commit) AddAddresses(addresses []Address) {
func (commit *Commit) SetAddresses(addresses []Address) {
commit.addresses = addresses
}
+1 -1
View File
@@ -278,7 +278,7 @@ func (vals *ValidatorSet) VerifyCommit(chainID string, blockID BlockID, height i
}
talliedVotingPower := int64(0)
commit.AddAddresses(vals.GetAddresses())
commit.SetAddresses(vals.GetAddresses())
for idx, precommit := range commit.Precommits {
if precommit == nil {