frostfs-contract/tests/helpers.go

12 lines
121 B
Go

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