mirror of
https://github.com/FlipsideCrypto/dcrd.git
synced 2026-02-06 10:56:47 +00:00
dcrutil: Remove unused ErrAddressCollision.
This commit is contained in:
parent
2142c4037c
commit
be589d216c
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user