mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-29 12:41:44 +00:00
types: copy commit bit array
This commit is contained in:
@ -270,7 +270,7 @@ func (commit *Commit) BitArray() *BitArray {
|
||||
commit.bitArray.SetIndex(i, precommit != nil)
|
||||
}
|
||||
}
|
||||
return commit.bitArray
|
||||
return commit.bitArray.Copy()
|
||||
}
|
||||
|
||||
func (commit *Commit) GetByIndex(index int) *Vote {
|
||||
|
Reference in New Issue
Block a user