Skip to content

Commit

Permalink
Remove unused API. (btcsuite#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
dajohi authored May 17, 2017
1 parent acfdf7e commit c358dfb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions address.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c358dfb

Please sign in to comment.