d6b72453fc
These were missing from #53. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
15 lines
244 B
Go
15 lines
244 B
Go
package test
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neofs-sdk-go/signature"
|
|
)
|
|
|
|
// Signature returns random pkg.Signature.
|
|
func Signature() *signature.Signature {
|
|
x := signature.New()
|
|
|
|
x.SetKey([]byte("key"))
|
|
x.SetSign([]byte("sign"))
|
|
|
|
return x
|
|
}
|