Use existing resolver in getRegistration

Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
Alexis Sellier
2021-09-22 15:51:17 +02:00
parent b95af71f33
commit af3ace3cf4
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ export async function resolveEnsProfile(addressOrName: string, profileType: Prof
const resolver = await config.provider.getResolver(name);
if (profileType === ProfileType.Full) {
const registration = await getRegistration(name, config);
const registration = await getRegistration(name, config, resolver);
if (registration) {
return registration.profile;
}