diff --git a/address.go b/address.go index 0591ae67e6..9b7ae44dba 100644 --- a/address.go +++ b/address.go @@ -547,12 +547,6 @@ func (a *AddressSecpPubKey) Format() PubKeyFormat { return a.pubKeyFormat } -// SetFormat sets the format (uncompressed, compressed, etc) of the -// pay-to-pubkey address. -func (a *AddressSecpPubKey) SetFormat(pkFormat PubKeyFormat) { - a.pubKeyFormat = pkFormat -} - // AddressPubKeyHash returns the pay-to-pubkey address converted to a // pay-to-pubkey-hash address. Note that the public key format (uncompressed, // compressed, etc) will change the resulting address. This is expected since