mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-03 14:47:16 +00:00
fix: avoid race with a deeper copy (#6285)
This commit is contained in:
@@ -299,7 +299,7 @@ func TestBitArrayFromProto(t *testing.T) {
|
||||
expErr bool
|
||||
}{
|
||||
0: {nil, &BitArray{}, false},
|
||||
1: {&tmprotobits.BitArray{}, &BitArray{}, false},
|
||||
1: {&tmprotobits.BitArray{}, &BitArray{Elems: []uint64{}}, false},
|
||||
|
||||
2: {&tmprotobits.BitArray{Bits: 1, Elems: make([]uint64, 1)}, &BitArray{Bits: 1, Elems: make([]uint64, 1)}, false},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user