mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-22 17:31:34 +00:00
Support uint64 , but still support int/uint varints.
This commit is contained in:
@ -9,8 +9,8 @@ import (
|
||||
|
||||
type BitArray struct {
|
||||
mtx sync.Mutex
|
||||
Bits uint // NOTE: persisted via reflect, must be exported
|
||||
Elems []uint64 // NOTE: persisted via reflect, must be exported
|
||||
Bits uint `json:"bits"` // NOTE: persisted via reflect, must be exported
|
||||
Elems []uint64 `json:"elems"` // NOTE: persisted via reflect, must be exported
|
||||
}
|
||||
|
||||
func NewBitArray(bits uint) *BitArray {
|
||||
|
Reference in New Issue
Block a user