frostfs-contract/tests/helpers.go

12 lines
121 B
Go
Raw Permalink Normal View History

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