dcrutil: Remove unused ErrAddressCollision.

This commit is contained in:
Dave Collins 2019-06-14 22:59:53 -05:00
parent 2142c4037c
commit be589d216c
No known key found for this signature in database
GPG Key ID: B8904D9D9C93D1F2

View File

@ -31,14 +31,6 @@ var (
// registered (via chaincfg.Register) network.
ErrUnknownAddressType = errors.New("unknown address type")
// ErrAddressCollision describes an error where an address can not
// be uniquely determined as either a pay-to-pubkey-hash or
// pay-to-script-hash address since the leading identifier is used for
// describing both address kinds, but for different networks. Rather
// than assuming or defaulting to one or the other, this error is
// returned and the caller must decide how to decode the address.
ErrAddressCollision = errors.New("address collision")
// ErrMissingDefaultNet describes an error in DecodeAddress that
// attempts to decode an address without defining which network to decode
// for.