mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-08 09:07:10 +00:00
Addressing review comments
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user