Minor fixes

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
This commit is contained in:
Sebastian Martinez
2022-02-09 10:10:11 +01:00
parent 6a9dda2cc4
commit d439016806
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ export async function setRecords(name: string, records: EnsRecord[], resolver: E
assert(config.signer, "no signer available");
const resolverContract = new ethers.Contract(resolver.address, config.abi.resolver, config.signer);
const node = ethers.utils.namehash(`${name}`);
const node = ethers.utils.namehash(name);
const calls = [];
const iface = new ethers.utils.Interface(config.abi.resolver);
+1 -1
View File
@@ -312,7 +312,7 @@ export async function identifyAddress(address: string, config: Config): Promise<
// Resolve a label under the radicle domain.
export async function resolveLabel(label: string | undefined, config: Config): Promise<string | null> {
if (label) return config.provider.resolveName(`${label}`);
if (label) return config.provider.resolveName(label);
return null;
}