mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-20 15:07:03 +00:00
The aliases.Resolver.Exists function currently returns the "clean" address (with the drop characters and suffixes removed), which is relied upon in its only caller. That, however, makes the logic more difficult to follow, hiding some of the address manipulation behind what should be a read-only check. So this patch reorganizes that code a little bit, removing the "cleaning" of the address as part of Exists, and making it explicit when needed instead. This patch does not have any user-visible change in behaviour, it is just internal reorganization. This is in preparation for further patches which will improve the handling of some aliases corner cases.