frostfs-contract/tests/helpers.go

12 lines
121 B
Go
Raw Normal View History

package tests
import (
"math/rand"
)
func randomBytes(n int) []byte {
a := make([]byte, n)
rand.Read(a)
return a
}