Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't throw when using normalize_name w/ ENSIP-15 if name is empty
- This causes methods that utilize normalize_name() internally to throw with a very obscure message that empty names aren't allowed. e.g. when calling ns.name(ens_address), if the reverse resolver isn't properly set up it will throw ``InvalidName`` with a message saying names can't be empty. This would create a lot of confusion. - ``normalize_name_ensip15()`` method still raises ``InvalidName`` on empty name and this seems more appropriate when directly calling the method.
- Loading branch information