func (s *PayToPubKeyHashScript) GetWitnessUnlockingScriptBytes(signs []PubKeySign, redeem []byte) ([][]byte, error) {
	return nil, nil
}
GetWitnessUnlockingScriptBytes -- used to get witness script bytes.
package xcore
import (
	"github.com/keyfuse/tokucore/xvm"
)
type PayToPubKeyHashScript struct {
	hash []byte
}
func NewPayToPubKeyHashScript(pubkeyHash []byte) Script {
	return &PayToPubKeyHashScript{
		hash: pubkeyHash,
	}
}
func (s *PayToPubKeyHashScript) GetAddress() Address {
	return NewPayToPubKeyHashAddress(s.hash)
}
func (s *PayToPubKeyHashScript) GetRawLockingScriptBytes() ([]byte, error) {
	return xvm.NewScriptBuilder().
		AddOp(xvm.OP_DUP).
		AddOp(xvm.OP_HASH160).
		AddData(s.hash).
		AddOp(xvm.OP_EQUALVERIFY).
		AddOp(xvm.OP_CHECKSIG).
		Script()
}
func (s *PayToPubKeyHashScript) GetFinalLockingScriptBytes(redeem []byte) ([]byte, error) {
	return s.GetRawLockingScriptBytes()
}
func (s *PayToPubKeyHashScript) GetRawUnlockingScriptBytes(signs []PubKeySign, redeem []byte) ([]byte, error) {
	builder := xvm.NewScriptBuilder()
	unlocking, err := builder.AddData(signs[0].Signature).AddData(signs[0].PubKey).Script()
	return unlocking, err
}