From a9433ff8856237f9e382208724e3243de073682a Mon Sep 17 00:00:00 2001 From: fselmo Date: Fri, 23 Jun 2023 14:25:53 -0600 Subject: [PATCH] Remove extra ``normalize_name()`` since ``resolver()`` normalizes the name --- ens/async_ens.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ens/async_ens.py b/ens/async_ens.py index 700decdd6d..78d16065c5 100644 --- a/ens/async_ens.py +++ b/ens/async_ens.py @@ -353,9 +353,8 @@ async def get_text(self, name: str, key: str) -> str: :raises ResolverNotFound: If no resolver is found for the provided name """ node = raw_name_to_hash(name, ensip15=self.ensip15_normalization) - normal_name = normalize_name(name, ensip15=self.ensip15_normalization) - r = await self.resolver(normal_name) + r = await self.resolver(name) if r: if await _async_resolver_supports_interface(r, GET_TEXT_INTERFACE_ID): return await r.caller.text(node, key)