refactor: bring cometbft back to v0.38.x family (#25285)
This commit is contained in:
+1
-1
@@ -136,7 +136,7 @@ func (r *Rand) Bytes(n int) []byte {
|
||||
|
||||
// NOTE: This relies on the os's random number generator.
|
||||
// For real security, we should salt that with some seed.
|
||||
// See github.com/cometbft/cometbft/v2/crypto for a more secure reader.
|
||||
// See github.com/cometbft/cometbft/crypto for a more secure reader.
|
||||
func cRandBytes(numBytes int) []byte {
|
||||
b := make([]byte, numBytes)
|
||||
_, err := crand.Read(b)
|
||||
|
||||
Reference in New Issue
Block a user