func TstAddressPubKey(serializedPubKey []byte, pubKeyFormat PubKeyFormat,
	netID byte) *AddressPubKey {

	pubKey, _ := btcec.ParsePubKey(serializedPubKey, btcec.S256())
	return &AddressPubKey{
		pubKeyFormat: pubKeyFormat,
		pubKey:       pubKey,
		pubKeyHashID: netID,
	}
}
// TstAddressPubKey makes an AddressPubKey, setting the unexported fields with
// the parameters.
TstAddressPubKey makes an AddressPubKey, setting the unexported fields with
the parameters.
// TstAddressPubKey makes an AddressPubKey setting the unexported fields with // the parameters .
func TstAddressPubKey(serializedPubKey []byte, pubKeyFormat PubKeyFormat,
	netID byte) *AddressPubKey {
	pubKey, _ := btcec.ParsePubKey(serializedPubKey, btcec.S256())
	return &AddressPubKey{
		pubKeyFormat: pubKeyFormat,
		pubKey:       pubKey,
		pubKeyHashID: netID,
	}
}
func TstAddressPubKey ( serializedPubKey [ ] byte , pubKeyFormat PubKeyFormat , netID byte ) * AddressPubKey { pubKey , _ := btcec . ParsePubKey ( serializedPubKey , btcec . S256 ( ) ) return & AddressPubKey { pubKeyFormat : pubKeyFormat , pubKey : pubKey , pubKeyHashID : netID , } }
TstAddressPubKey makes an AddressPubKey, setting the unexported fields with
the parameters.
TstAddressPubKey makes an AddressPubKey setting the unexported fields with the parameters .