mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
Use existing resolver in getRegistration
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user