mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-29 04:07:07 +00:00
panic wrapper functions
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ func (bA *BitArray) PickRandom() (int, bool) {
|
||||
return 64*elemIdx + bitIdx, true
|
||||
}
|
||||
}
|
||||
panic("should not happen")
|
||||
PanicSanity("should not happen")
|
||||
}
|
||||
} else {
|
||||
// Special case for last elem, to ignore straggler bits
|
||||
|
||||
Reference in New Issue
Block a user