func (s *PayToMultiSigScript) GetLockingScriptBytes() ([]byte, error) {
	return GenMultiSigScript(s.nrequired, s.pkDatas...)
}
GetLockingScriptBytes -- returns the locking script bytes.
package xcore
import (
	"github.com/keyfuse/tokucore/xcrypto"
	"github.com/keyfuse/tokucore/xerror"
	"github.com/keyfuse/tokucore/xvm"
)
type PayToMultiSigScript struct {
	nrequired int
	pkDatas   [][]byte
}
func NewPayToMultiSigScript(nrequired int, pkDatas ...[]byte) *PayToMultiSigScript {
	return &PayToMultiSigScript{
		nrequired: nrequired,
		pkDatas:   pkDatas,
	}
}