mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-25 17:34:36 +00:00
Support uint64 , but still support int/uint varints.
This commit is contained in:
+2
-2
@@ -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