mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-23 17:51:39 +00:00
Don't send bitarrays, just send height/round/type/index.
This commit is contained in:
@ -60,6 +60,10 @@ func (bA BitArray) WriteTo(w io.Writer) (n int64, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (bA BitArray) Size() uint {
|
||||
return bA.bits
|
||||
}
|
||||
|
||||
func (bA BitArray) IsZero() bool {
|
||||
return bA.bits == 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user